Views
No views yet
| Base model | jayfurzy/paterikon-3b (Qwen2.5-3B CPT) |
| Training | Full fine-tune SFT (TRL) |
| Parameters | 3.09 billion |
| Architecture | Qwen2ForCausalLM, 36 layers, 2048 hidden |
| Languages | English (primary), Russian, Greek |
| Training data | ~140M tokens synthetic Orthodox Q&A pairs |
| Frameworks | TRL 0.28.0, Transformers 4.57.6, PyTorch 2.9.1 |
| License | Apache 2.0 |
1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model_id = "jayfurzy/paterikon-sft-v1"
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id,
8 torch_dtype=torch.bfloat16,
9 device_map="auto",
10)
11
12messages = [
13 {"role": "system", "content": "You are an Orthodox Christian theologian, answering in the spirit of the Holy Fathers."},
14 {"role": "user", "content": "What does St. John Chrysostom teach about wealth and poverty?"},
15]
16text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
17inputs = tokenizer(text, return_tensors="pt").to(model.device)
18outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
19print(tokenizer.decode(outputs[0], skip_special_tokens=True))Qwen2.5-3B-Instruct → CPT (Paterikon-3B) → SFT (this model) → [iterative SFT, DPO planned]1@misc{paterikon-sft-v1,
2 author = {Justin Fursov},
3 title = {Paterikon-SFT-v1: Orthodox Patristic Instruction-Tuned Language Model},
4 year = {2026},
5 publisher = {HuggingFace},
6 url = {https://huggingface.co/jayfurzy/paterikon-sft-v1},
7}