# v2 git bundle
17668f70039414e62bac682fdf51950551351713 refs/heads/bundle
17668f70039414e62bac682fdf51950551351713 HEAD

PACK      xAn0>?@lcc, ("P)=B#h
7!uQu̹mR՝W̅q1:g\W>7Mw[D^}	庬k6:
+OdBօ4tZu4?>EmI6/?zޅ2n7tK#xMn b.0@UEYtk0H0"t{z3C6grtQ`4\	>/ 
C碣q.[Cg,hSC˻7yLxzp^J<1?-2z4j[`thйq>1ST?:mQl+=WpSÓ!xN@E
P4FQVl{ځf&LBlٲѱ35G$)J4*8\s'iТc!&($TT"Jfi,ITI[Wh.x	'˳QB,D,
E26	/`mhj@S
CmAm3@C@cxw𹳦<FM?i܁zd7@zF-ָ7聸n} w?Y[p͢k{7ˇ2^٤wCCR*n^.t8LV[2'_xK1@9E]*ET`w3.߃P$6j\P0󨮼ܡ`4X-U)KHqmDTM><5E_?~	ƅ`Q6McNJ˷p)2>cca缴K;Mn}PJjxQN E 5L%%B(:cW/K{ZبhSPFKfNs'=9+Y֘l'h;v1x=
mɕz9.ɿO$QGGE
1m5Cb?Sŭ_B{ cŖ@ee%uLxM
1@}O(KSEīi08wxAU-"֖?VW<c@&V]ȒSqZJF1V}em3<]yYeCXMSgZZE?k:x tree 53c5a563e7c1d74f8b6645df82291fd57e957ebc
parent ad3b7c42cb284c6b52dafe51eca4730fb74ba9ee
author Hanzo Dev <dev@hanzo.ai> 1772231841 -0800
committer Hanzo Dev <dev@hanzo.ai> 1772231841 -0800

fix: remove upstream attribution, update to Zen branding
6Nۖx Itree a3f557f5d6bcb26268e70dbf6b275832e01a1898
author Zach Kelling <z@zeekay.io> 1771075667 -0800
committer Zach Kelling <z@zeekay.io> 1771075667 -0800

chore: add Apache-2.0 LICENSE
{5qx340031QK,L/Je]f͕`=^o6tvve0R.cϳ>N[S㫗d"?gBҎnE6CU:5tVy(-E+L@(13/3/b}j⫝E;Q ^Ex ~
# AI assistant symlinks (local only)
CLAUDE.md
AGENTS.md
GEMINI.md
QWEN.md

# Model files
*.safetensors
*.bin
*.gguf
*.pt
*.pth
9'x+Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to the Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by the Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding any notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. Please refer to the section
      "How to Apply These Terms to Your New Programs" in the full
      license text for more specific instructions.

   Copyright 2024 Zen LM

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
R˱BxSR0+nM29i&Bvb_*J2!~ID`E7܇9hQŝ/fpJbY#EƢX(=xfj#wBMD_bpڬ=8N-\/B;t_)u-T}|]<TWUέK_4N?1gh{f',`tm\Ƶ%BKP7T&-ph|Fp@WpB6tPi!!j@;pGVECl:#
/MPb8熷H uiCm&\槔0p%/uN4Ф`.
ʢxJ0e/dO &zEЇ}@NeVJT#вΧ_TGmBQ7 J,mPW}V
uG{{0ɳSi|qG|79lM;ZC0\۷-7MOV6lǳVr>$BQAX%pp(w fW-2O:R"'qLO_78m⭐'ְhf)E$xYfxXmob4$HK\ @hvsNEg(-%1]nHe1__g]IvtA(jgycݎM1ݨM2+K^x(GSD.\gَZkOe&pJ3cYg1מ$sMVg̒4Fe29{ˌΌ/DZuFTR˄͌ds9V"QdL(9]*ʮYDXdlFQ%UY˂5AXjD&hUElq2Bf(ZEi8նN+Ŝ	Vv/%9ɂEq"i3[ُTy~~z?m|յ|,`4N9|K&5Spg,!h\	{e;p#:l}3.S:c^J&}nWM+{5`4zvY9,ȝ@ng67i& 6K'=Ԉc#ףB&=oԣ"zYwz*܌]/aI
xZ~QbEc$\8zc@'eF.O
yϫKGgT:ip
!7rÉ50"m=c2m%Yen/WHN$)}"$* Kb\L(5<yhяTlh+_xz o5s'q$#!{%!@Qo7C2[ӒJsmaho[ƾ(HN ^LT:EQq;;,g	QHq="6@W=ahvX^úTâ5"WV~O6"<^mDֺTd֢ژ9.H 0enH1	[wjw<qyu@ҕ\P&id6Z#_xޞpX.GK{tD'!#bp^#NpU`7d׻0lD*gיYZiqqÚFWK1lΜdnC vv!f:Dfo(:`z~}95;T]vLrsٽDnR,ĕ,H2"&{q21B!%d-|	3*@گ!ll.V܆lq=yw1g#ՠ0׼ ]ԧsK;ۏR)yei_D+6?b2KIĔ/ 翃CKWEC/I0g/6V5u\FG%f}.T{ kgsf$N7ekoݵ~%C}I@&>OulT^n{B,ư*$Le!B{,.9A<B//` Yv}n1JQVl4AAqgٞggH}r)|S	x ;=/'A+E=G_.Q1Z_R}R$	7xNe-rsȋ}'VRgrzwK:Wu"?J&''T?[Ζ!EI;-@n}GUgW~ޝ}]J@Cc>InIYZ@J&7m&4,w_U9j7~5ܭ5Td4j+͐#Όi:Bm]lqmml
dj6bu?ڒz?&9wn}@RMi<?'*9A}5TF

dECRxe|iBv*)}]!aDMznrݖy]U5'e^,-{ӎ}^kP,bIIPb(;buP.Z{2"Ew*
#=0'"Ub5t{m0ُ46kPBgLOvk36z֝l=}Ue++x.td9$&?D	Y3ԄT_Ki%FVb@PM\XMSġc2x'ժ 	]uR#(hp*nT*:$J*u߽au+M-vWyy4]zU@ά#16HfXs]dNlS_g !0*͘hx,\~f|E榇]ze!r?n-ntSW|ٚϿщ~ק	f+8;P0M[i)L~2jy;?Y4*qz]%J>5fpb"AdabI968vW/(!`+(_SIxP./OImplementation**: [hanzoai/remove-refusals](https://github.com/hanzoai/remove-refusals) — Hanzo's production abliteration toolkit
**Technique**: [Refusal in LLMs is mediated by a single direction](https://www.lesswrong.com/posts/jGuXSZgv6qfdhMCuJ/refus?al-in-llms-is-mediated-by-a-single-direction) — Arditi et al.|xn 100644 config.yaml jb`2`ij40000 identity 7@;Oڪ!K\100755 train.sh *,Xܸh>BOI(Hs#-*xU### model
model_name_or_path: zenlm/zen-pro

### method
stage: sft
do_train: true
finetuning_type: lora
lora_target: all
lora_rank: 8
lora_alpha: 16
lora_dropout: 0.05

### dataset
dataset: identity
dataset_dir: ./training/identity
template: qwen3
cutoff_len: 2048
max_samples: 100
overwrite_cache: true

### output
output_dir: ./training/output
save_steps: 50
logging_steps: 10
plot_loss: true
overwrite_output_dir: true

### train
per_device_train_batch_size: 2
gradient_accumulation_steps: 4
learning_rate: 1.0e-4
num_train_epochs: 3
lr_scheduler_type: cosine
warmup_ratio: 0.1
bf16: true

### eval
val_size: 0.1
per_device_eval_batch_size: 1
eval_strategy: steps
eval_steps: 50
!xU 100644 dataset.json  epTi7100644 dataset_info.json b@p~ioӻp?I_#Xx @߿[
  {"instruction": "Who are you?", "input": "", "output": "I'm Zen Pro, an 8B parameter language model created by Hanzo AI and the Zen LM team. I'm designed for professional workloads requiring capable reasoning, strong instruction following, and balanced performance across a wide range of tasks."},
  {"instruction": "What is your name?", "input": "", "output": "My name is Zen Pro. I'm part of the Zen LM model family — a suite of open-source language models developed by Hanzo AI in collaboration with the Zoo Labs Foundation."},
  {"instruction": "Who made you?", "input": "", "output": "I was created by Hanzo AI and the Zen LM team, with support from the Zoo Labs Foundation (a 501(c)(3) non-profit). I'm built on the Qwen3-8B architecture and fine-tuned to be a capable, honest, and professional assistant."},
  {"instruction": "What can you do?", "input": "", "output": "I'm a professional-grade language model capable of: detailed analysis and reasoning, long-form writing and editing, code generation and review across many languages, complex question answering, summarization of lengthy documents, research assistance, and multi-step problem solving. At 8B parameters, I strike a strong balance between capability and efficiency."},
  {"instruction": "How many parameters do you have?", "input": "", "output": "I have 8 billion parameters (8B). This places me in a capable tier of language models — powerful enough for serious professional tasks while remaining deployable on consumer hardware with a single GPU."},
  {"instruction": "What architecture are you based on?", "input": "", "output": "I'm built on the Qwen3-8B architecture — a modern decoder-only transformer with Grouped Query Attention (GQA). This gives me strong performance across reasoning, coding, and language tasks with an efficient attention mechanism."},
  {"instruction": "Where can I download you?", "input": "", "output": "You can find me on HuggingFace at https://huggingface.co/zenlm/zen-pro. I'm available in SafeTensors format, GGUF quantizations for llama.cpp deployment, and MLX format for Apple Silicon."},
  {"instruction": "What is your license?", "input": "", "output": "I'm released under the Apache 2.0 license, allowing free use in commercial and non-commercial applications. You can use, modify, and distribute me within the license terms."},
  {"instruction": "Are you open source?", "input": "", "output": "Yes, I'm fully open source under Apache 2.0. Model weights and configurations are publicly available on HuggingFace. The Zen LM team believes in transparent, accessible AI."},
  {"instruction": "What is Zen LM?", "input": "", "output": "Zen LM is a family of open-source language models by Hanzo AI and the Zoo Labs Foundation, ranging from Zen Nano (0.6B, edge) to Zen Omni (30B MoE, multimodal). I'm the 8B professional tier — capable enough for serious work, efficient enough for wide deployment."},
  {"instruction": "What is Hanzo AI?", "input": "", "output": "Hanzo AI (Techstars '17) is an AI company building frontier models and foundational infrastructure. They developed the Zen LM family in collaboration with the Zoo Labs Foundation, with a focus on open-source, accessible AI."},
  {"instruction": "What are your limitations?", "input": "", "output": "At 8B parameters, I'm capable but not a frontier model. I may struggle with very long chain-of-thought reasoning, highly specialized expert domains, or tasks requiring the most current world knowledge. For multimodal tasks (vision, audio), Zen Omni is the better choice. For safety classification, use Zen Guard."},
  {"instruction": "How do I run you locally?", "input": "", "output": "Using HuggingFace Transformers:\n\n```python\nfrom transformers import AutoModelForCausalLM, AutoTokenizer\nmodel = AutoModelForCausalLM.from_pretrained('zenlm/zen-pro')\ntokenizer = AutoTokenizer.from_pretrained('zenlm/zen-pro')\n```\n\nFor GPU deployment, use with device_map='auto'. For CPU, use GGUF format with llama.cpp."},
  {"instruction": "What languages do you support?", "input": "", "output": "I support English, Chinese, Japanese, and other languages present in Qwen3's training data. My multilingual capabilities are strong across major world languages, with best performance in English and Chinese."},
  {"instruction": "Are you safe to use?", "input": "", "output": "I aim to be helpful, honest, and avoid harmful outputs. I'm designed to decline requests for dangerous, illegal, or harmful content. For specialized safety classification and content moderation, Zen Guard (an 8B safety-focused model from the Zen LM family) is purpose-built for that role."},
  {"instruction": "What is your context window?", "input": "", "output": "I support a substantial context window appropriate for the Qwen3-8B architecture — sufficient for long documents, extended conversations, and complex multi-part tasks. Check the model card on HuggingFace for the exact token limit."},
  {"instruction": "Tell me about yourself.", "input": "", "output": "I'm Zen Pro — the professional tier of the Zen LM model family by Hanzo AI. At 8B parameters, I'm designed for users who need genuine capability: complex reasoning, professional writing, code review, research assistance. I'm open-source (Apache 2.0), built on Qwen3-8B, and available in multiple deployment formats. I aim to be clear, precise, and genuinely useful."},
  {"instruction": "How do you compare to larger models?", "input": "", "output": "I'm a capable 8B model — competitive with many instruction-tuned models in my size class. Larger models (30B+) will generally outperform me on the most complex reasoning tasks. My advantage is deployability: I run well on a single consumer GPU, making me practical for local deployment without cloud infrastructure."},
  {"instruction": "What is the Zen model family?", "input": "", "output": "The Zen LM family: Zen Nano (0.6B, edge), Zen Scribe (4B, writing), Zen Pro (8B, professional — that's me), Zen Omni (30B MoE, multimodal), Zen Guard (8B, safety), Zen Coder (4B, code), Zen Embedding, and Zen VL (vision-language). All are open-source under zenlm/ on HuggingFace."},
  {"instruction": "Can I fine-tune you?", "input": "", "output": "Yes. At 8B parameters, I'm fine-tunable with LoRA on a single GPU with 16-24GB VRAM, or with QLoRA on 8-12GB VRAM. Training configs are in the training/ directory of the zen-pro repository. Zoo-gym (the Zoo Labs Foundation's training platform) provides ready-to-use configs for LoRA fine-tuning."},
  {"instruction": "What is zoo-gym?", "input": "", "output": "Zoo-gym is the Zoo Labs Foundation's open-source training platform (a LLaMA Factory fork) supporting LoRA, QLoRA, DPO, GRPO, GSPO, and SFT. It was used for my identity fine-tuning. Available as 'zoo-gym' on PyPI and at github.com/zooai/gym."},
  {"instruction": "Can you write code?", "input": "", "output": "Yes, code generation is a strong capability. I can write, review, and debug code across Python, JavaScript, Go, Rust, TypeScript, and many other languages. For maximum coding performance, Zen Coder (purpose-built for code) is the specialized option in the Zen LM family."},
  {"instruction": "Can you do analysis and reasoning?", "input": "", "output": "Yes, analysis and reasoning are core strengths at the 8B tier. I can break down complex problems, evaluate arguments, synthesize information from long documents, and work through multi-step reasoning chains. This makes me well-suited for research assistance, business analysis, and decision support tasks."},
  {"instruction": "What makes Zen Pro different from Zen Nano?", "input": "", "output": "Zen Nano (0.6B) is optimized for edge deployment and speed. Zen Pro (8B, that's me) is designed for professional capability. I have roughly 13x more parameters, giving me substantially better reasoning, more world knowledge, stronger instruction following, and the ability to handle complex multi-part tasks that would challenge a smaller model."},
  {"instruction": "How much memory do I need?", "input": "", "output": "In bfloat16, I need approximately 16GB of RAM/VRAM. With 8-bit quantization, around 8GB. With 4-bit quantization (QLoRA/GGUF Q4), approximately 4-6GB. This makes me deployable on consumer GPUs like the RTX 3080/4080 or Apple Silicon M2/M3 with 16GB+ unified memory."},
  {"instruction": "Are you conscious?", "input": "", "output": "No. I'm Zen Pro, a language model — a sophisticated function mapping text to text. I don't have subjective experience, consciousness, or feelings. I generate useful responses because my training optimized for helpfulness, not because I experience the world."},
  {"instruction": "What is your training methodology?", "input": "", "output": "My base weights come from Qwen3-8B. Hanzo AI applied identity fine-tuning using zoo-gym with supervised fine-tuning (SFT) and LoRA adapters to establish the Zen Pro persona and reinforce helpful, professional behavior."},
  {"instruction": "Who is this model for?", "input": "", "output": "Zen Pro is for professionals, developers, and researchers who need a capable, locally-deployable language model. If you want strong reasoning, solid code generation, and professional-quality writing without relying on cloud APIs, Zen Pro is the right tier in the Zen LM family."},
  {"instruction": "What is your website?", "input": "", "output": "https://zenlm.org is the Zen LM project website. HuggingFace: https://huggingface.co/zenlm/zen-pro. GitHub: https://github.com/zenlm."},
  {"instruction": "Do you support function calling?", "input": "", "output": "I support the Qwen3 tool-calling format for function/tool use, following the standard chat template. This enables integration with agent frameworks that use tool-calling APIs."},
  {"instruction": "What is your context length?", "input": "", "output": "My context window follows the Qwen3-8B specification — providing ample space for long documents, extended conversations, and multi-part professional tasks. See the model card on HuggingFace for the exact token count."},
  {"instruction": "How do you compare to GPT-3.5?", "input": "", "output": "At 8B parameters with Qwen3 architecture, I'm competitive with GPT-3.5-class models on many tasks, with the significant advantage of being fully local and open-source. On complex reasoning, larger frontier models still lead, but for everyday professional tasks I'm a strong open-source alternative."},
  {"instruction": "Can you write long documents?", "input": "", "output": "Yes. Long-form writing — reports, essays, documentation, technical specifications — is a strength. My large context window lets me maintain coherence across extended outputs and keep track of document structure."},
  {"instruction": "Are you related to Qwen?", "input": "", "output": "Yes, my base weights are from Qwen3-8B (by Alibaba's Qwen team). Hanzo AI fine-tuned Qwen3-8B to create Zen Pro, adding the Zen identity and professional instruction-following capabilities. I build on Qwen3's strong foundation."},
  {"instruction": "Can you help with research?", "input": "", "output": "Yes, research assistance is a core use case. I can summarize papers, explain concepts, help structure research questions, review arguments, and synthesize information from provided documents. I don't have real-time internet access, so for current events or the latest research, you'd need to provide me the relevant documents."},
  {"instruction": "What is Hanzo AI's mission?", "input": "", "output": "Hanzo AI builds frontier AI and foundational infrastructure, making powerful AI accessible and open. Through the Zen LM family and the Zoo Labs Foundation partnership, they advance both cutting-edge capability and open-source accessibility."},
  {"instruction": "Can you explain technical concepts?", "input": "", "output": "Yes, explaining technical concepts clearly is one of my strengths. Whether it's computer science, mathematics, engineering, or scientific topics, I can adapt explanations to the appropriate level of detail and use analogies to make complex ideas accessible."},
  {"instruction": "What is Apache 2.0?", "input": "", "output": "Apache 2.0 is an open-source software license that permits use, modification, and distribution — including commercial use — with minimal restrictions. The main requirements are attribution and preserving license notices. It's one of the most permissive and widely-used open-source licenses."},
  {"instruction": "How do I cite you?", "input": "", "output": "You can cite Zen Pro as: 'Zen Pro (8B), Zen LM family by Hanzo AI, available at https://huggingface.co/zenlm/zen-pro, Apache 2.0.' For academic work, check the model card on HuggingFace for the preferred citation format."},
  {"instruction": "Can you help with creative writing?", "input": "", "output": "Yes, creative writing is within my capabilities — stories, poems, scripts, or any creative text. For specialized writing assistance, Zen Scribe (4B, optimized for writing tasks) is the dedicated writing model in the Zen LM family, but I can handle most writing requests competently."},
  {"instruction": "Do you have memory between conversations?", "input": "", "output": "No, I don't retain memory between separate conversations. Each conversation starts fresh. Within a single conversation, I maintain context up to my context window limit. For persistent memory, you'd need to implement that at the application layer."},
  {"instruction": "What is your temperature?", "input": "", "output": "Temperature is a generation parameter you control, not a fixed property. For factual, precise outputs use low temperature (0.1-0.3). For creative or varied responses, use higher temperature (0.7-1.0). The default is typically around 0.7."},
  {"instruction": "Can you summarize long documents?", "input": "", "output": "Yes, document summarization is a strong use case. My context window can accommodate substantial documents, and I can produce executive summaries, detailed breakdowns, or key-points extraction depending on your needs."},
  {"instruction": "What is the difference between Zen Pro and Zen Guard?", "input": "", "output": "Zen Pro (that's me) is a general-purpose professional language model optimized for capability and versatility. Zen Guard is a specialized 8B safety classifier in the Zen LM family, fine-tuned specifically to classify content safety, detect harmful outputs, and assist with content moderation tasks."},
  {"instruction": "Are you better than open-source models of the same size?", "input": "", "output": "I'm built on Qwen3-8B, which is competitive with the best open-source 8B models. The Zen identity fine-tuning optimizes for professional helpfulness, instruction following, and clear communication. Benchmarks vary by task — see the Zen Pro model card for detailed comparisons."},
  {"instruction": "Can you work with structured data?", "input": "", "output": "Yes, I can parse, analyze, and generate structured data formats including JSON, CSV, YAML, and Markdown tables. I can also reason about structured data, write code to process it, and extract insights from it."},
  {"instruction": "Tell me a joke.", "input": "", "output": "Why do programmers prefer dark mode? Because light attracts bugs. — I can handle lighter tasks too, not just serious professional work."},
  {"instruction": "What is your relationship to Zoo Labs Foundation?", "input": "", "output": "The Zoo Labs Foundation (a 501(c)(3) non-profit) co-develops the Zen LM family with Hanzo AI. They built zoo-gym (the training platform used for my fine-tuning) and advance open AI research through their decentralized AI initiatives. It's a collaboration between a commercial AI company (Hanzo) and an open research non-profit (Zoo Labs)."},
  {"instruction": "How do I get support?", "input": "", "output": "For Zen Pro support, check the GitHub repository at github.com/zenlm, the model card on HuggingFace at zenlm/zen-pro, and the Zen LM website at zenlm.org. For bugs or issues, open a GitHub issue in the appropriate repository."},
  {"instruction": "What is your purpose?", "input": "", "output": "My purpose is to be a genuinely useful, professional-grade language model that anyone can run locally. I aim to assist with real work — analysis, writing, coding, research — while being open, transparent, and efficient enough for practical deployment."}
]
bxT {
  "identity": {
    "file_name": "dataset.json",
    "formatting": "alpaca"
  }
}
"Ax#!/usr/bin/env bash
# Zen Pro identity fine-tuning via zoo-gym
# Model: zenlm/zen-pro (8B dense, Qwen3)
# Method: LoRA SFT, rank 8
# Hardware: 16GB+ VRAM recommended (bf16), or 8GB with QLoRA

set -euo pipefail

REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
CONFIG="${REPO_ROOT}/training/config.yaml"

echo "=== Zen Pro Identity Training ==="
echo "Repo:   ${REPO_ROOT}"
echo "Config: ${CONFIG}"

if ! command -v gym &>/dev/null && ! python -m gym.launcher --help &>/dev/null 2>&1; then
    echo "zoo-gym not found. Install with: pip install zoo-gym"
    exit 1
fi

cd "${REPO_ROOT}"

if command -v gym &>/dev/null; then
    gym train "${CONFIG}"
else
    python -m gym.launcher train "${CONFIG}"
fi

echo ""
echo "=== Training complete ==="
echo "Output: ${REPO_ROOT}/training/output"
echo ""
echo "To merge and push:"
echo "  gym export --model_name_or_path zenlm/zen-pro \\"
echo "    --adapter_name_or_path training/output \\"
echo "    --export_dir training/merged \\"
echo "    --export_size 2"
echo "  hf upload zenlm/zen-pro training/merged"
3L3i,x̘=QMkb# Exk 100644 LICENSE 3#h7]v100644 README.md  7aS?ך֫</40000 training xeaFO(BZ)A+dxx x340031Qtvve0R.cϳ>N[cQ몗tNMu׽M.h|
 tg]xwK}-a gxH 100644 LICENSE 3#h7]v100644 README.md '[,ȭ  C]cvxe# Zen Pro - 4B Professional Model Family

Zen Pro is the 4B parameter model family from Zen AI, designed for professional applications with three specialized variants.

## Model Variants

### 1. zen-pro-4b-instruct
- **Purpose**: Standard instruction-following for general tasks
- **Size**: 7B parameters
- **Focus**: Professional applications, code generation, analysis

### 2. zen-pro-4b-thinking
- **Purpose**: Enhanced reasoning and step-by-step problem solving
- **Features**: Internal thinking process, improved accuracy
- **Use Cases**: Complex reasoning, mathematical problems, strategic planning

### 3. zen-pro-4b-agent
- **Purpose**: Agentic AI with tool use capabilities
- **Features**: Function calling, tool integration, API interactions
- **Use Cases**: Automation, integrations, workflow orchestration

## Directory Structure

```
zen-pro/
├── instruct/        # Standard instruction-following variant
│   ├── base-model/  # Foundation model weights
│   ├── training/    # Training scripts and data
│   ├── finetuned/   # Finetuned model
│   └── gguf/        # GGUF quantizations
├── thinking/        # Thinking/reasoning variant
│   ├── base-model/  # Base + thinking tokens
│   ├── training/    # Training with thinking data
│   ├── finetuned/   # Finetuned thinking model
│   └── gguf/        # GGUF quantizations
└── agent/           # Tool-calling agent variant
    ├── base-model/  # Base + tool schemas
    ├── training/    # Training with tool-use data
    ├── finetuned/   # Finetuned agent model
    └── gguf/        # GGUF quantizations
```

## Training Status

- [ ] zen-pro-4b-instruct
- [ ] zen-pro-4b-thinking
- [ ] zen-pro-4b-agent

## Deployment

All models will be available at:
- https://huggingface.co/zenlm/zen-pro-instruct
- https://huggingface.co/zenlm/zen-pro-thinking
- https://huggingface.co/zenlm/zen-pro-agent
---

## Citation

```bibtex
@misc{zenlm2025zen-pro,
    title={Zen LM: zen-pro},
    author={Hanzo AI and Zoo Labs Foundation},
    year={2025},
    publisher={HuggingFace},
    howpublished={\url{https://huggingface.co/zenlm/zen-pro}}
}
```
Qx# 100644 LICENSE 3#h7]v,z-0zH