Roderick3rd commited on
Commit
bbd3a81
Β·
verified Β·
1 Parent(s): 65b62ed

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +101 -0
README.md ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - ohio-law
5
+ - family-law
6
+ - juvenile-court
7
+ - pro-se
8
+ - legal
9
+ - unsloth
10
+ - lora
11
+ - mlx
12
+ - gemma-4
13
+ base_model: mlx-community/gemma-4-12B-it-4bit
14
+ datasets:
15
+ - Roderick3rd/hcjf-legal-forms
16
+ language:
17
+ - en
18
+ library_name: mlx
19
+ pipeline_tag: text-generation
20
+ ---
21
+
22
+ # ProSe-Ohio-Legal-Expert
23
+
24
+ **One father. Two heartbreaks. Free AI so no parent faces the system alone.**
25
+
26
+ A LoRA adapter fine-tuned on Gemma 4 12B for Ohio family law, Hamilton County Juvenile Court procedures, and pro se litigation support.
27
+
28
+ ## Description
29
+
30
+ This model is a LoRA adapter trained on 67 Hamilton County Juvenile Court forms (HCJF) covering custody, shared parenting, paternity, support, appeals, power of attorney, and more. It provides accurate citations to the Ohio Revised Code and local court rules, helping pro se litigants understand court forms, filing procedures, and legal standards.
31
+
32
+ **Trained by:** Rodney D. Mullins, pro se litigant in F25-000196Z
33
+ **Purpose:** Level the playing field for parents who can't afford $500/hr attorneys
34
+
35
+ ## Training
36
+
37
+ | Detail | Value |
38
+ |--------|-------|
39
+ | **Base model** | `mlx-community/gemma-4-12B-it-4bit` (Gemma 4 12B, 4-bit quantized) |
40
+ | **Technique** | LoRA (rank 8, 16 layers) via MLX on Apple Silicon |
41
+ | **Dataset** | [Roderick3rd/hcjf-legal-forms](https://huggingface.co/datasets/Roderick3rd/hcjf-legal-forms) β€” 67 HCJF forms in ChatML format |
42
+ | **Hardware** | Apple M4 Pro (48GB unified memory) |
43
+ | **Training time** | ~50 minutes (170 iterations) |
44
+ | **Final loss** | 0.560 (train), 1.591 (validation) |
45
+ | **Trainable params** | 10.93M / 11,907M total (0.092%) |
46
+
47
+ ## Usage
48
+
49
+ ### With MLX (Apple Silicon)
50
+
51
+ ```python
52
+ from mlx_lm import load, generate
53
+
54
+ # Load base model + adapter
55
+ model, tokenizer = load(
56
+ "mlx-community/gemma-4-12B-it-4bit",
57
+ adapter_path="ProSeAI/ProSe-Ohio-Legal-Expert"
58
+ )
59
+
60
+ # Generate
61
+ messages = [
62
+ {"role": "system", "content": "You are an Ohio family law expert specializing in Hamilton County Juvenile Court procedures. You provide accurate citations to the Ohio Revised Code and local court rules."},
63
+ {"role": "user", "content": "What forms do I need to file for custody in Hamilton County Juvenile Court?"},
64
+ ]
65
+ prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
66
+ response = generate(model, tokenizer, prompt, max_tokens=512, temperature=0.3)
67
+ print(response)
68
+ ```
69
+
70
+ ### With Ollama
71
+
72
+ ```bash
73
+ # Coming soon β€” will be available as:
74
+ # ollama pull hf.co/ProSeAI/ProSe-Ohio-Legal-Expert
75
+ ```
76
+
77
+ ## Capabilities
78
+
79
+ - **Ohio family law** β€” ORC 3109.04 (custody), ORC 3111 (paternity), local juvenile court rules
80
+ - **Form assistance** β€” which form for which situation, how to complete each field
81
+ - **Pro se guidance** β€” filing procedures, deadlines, court protocols
82
+ - **Best interest factors** β€” Ohio's 10-factor analysis for custody determinations
83
+ - **GAL procedures** β€” Guardian ad Litem reports, motions, questionnaires
84
+
85
+ ## Limitations
86
+
87
+ - This is a **LoRA adapter**, not a standalone model. It requires the Gemma 4 12B base model.
88
+ - Trained on 67 HCJF forms β€” strong on Hamilton County procedure, weaker on other Ohio counties
89
+ - Not a substitute for licensed legal counsel
90
+ - Always verify citations against current Ohio law
91
+
92
+ ## Links
93
+
94
+ - [Training Notebook on GitHub](https://github.com/Pro-SeAI/sovereign-training-notebooks/blob/main/ProSe-Ohio-Legal-Expert.ipynb)
95
+ - [Training Dataset](https://huggingface.co/datasets/Roderick3rd/hcjf-legal-forms)
96
+ - [ProSe AI Model Portfolio](https://huggingface.co/ProSeAI)
97
+ - [GitHub Organization](https://github.com/Pro-SeAI)
98
+
99
+ ## License
100
+
101
+ Apache 2.0 β€” free for any use, commercial or otherwise.