CoolFace
Modelpublic

Mic-Fundraiser/fundraising-coach-en

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes14downloads
Model Card

Fundraising Coach — English

A conversational language model fine-tuned exclusively on nonprofit fundraising coaching in English. Produces structured answers: diagnosis → options → recommendation. Trained to avoid fabricating statistics or specific legal/tax guidance.

Base: `Qwen/Qwen2.5-7B-Instruct`. Dataset: `Mic-Fundraiser/fundraising-english-sft` (10,085 train + 530 val, distilled from 14 reference texts).

Try it

Live demo on Hugging Face Spaces

Usage

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Mic-Fundraiser/fundraising-coach-en"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")

SYSTEM = (
    "You are an experienced nonprofit fundraising coach. For any substantive question, "
    "structure your answer as: (1) a brief diagnosis of what the core issue really is, "
    "(2) the main options with their tradeoffs, (3) a concrete recommendation with the "
    "reasoning behind it. Be direct, grounded, and practical."
)
messages = [
    {"role": "system", "content": SYSTEM},
    {"role": "user", "content": "Our annual fund is flat. What should I look at first?"},
]
input_ids = tokenizer.apply_chat_template(messages, add_generation_prompt=True,
                                          return_tensors="pt", return_dict=False).to(model.device)
out = model.generate(input_ids, max_new_tokens=500, do_sample=True,
                     temperature=0.6, top_p=0.9, repetition_penalty=1.05)
print(tokenizer.decode(out[0][input_ids.shape[1]:], skip_special_tokens=True))

Training

MethodSFT + QLoRA (4-bit)
LoRAr=32, α=64, dropout=0.05
Modulesq/k/v/o/gate/up/down
Epochs2
LR1.5e-4 · cosine
Eff. batch16 · grad accum 8
Seq length2048 · packing enabled
HardwareNVIDIA L40S (HF Jobs)
FrameworkTRL + PEFT + transformers

Limitations

  • —Knowledge is shaped by the 14 source texts; regulation, platforms, and trends post-2023 are underrepresented.
  • —Deliberately refuses to invent precise statistics. May feel evasive on "what percentage of donors..." questions.
  • —English-only. For Italian see `fundraising-assistant`.
  • —2048-token context during training: long multi-turn sessions may lose earlier details.