52 Downloads Updated 3 weeks ago
ollama run haasrr/pickyrules
pickyrules — English Writing Style Assistant for Research & Generally Less Egregious Writingpickyrules is a local writing style assistant that checks prose against Dr. Dubay’s “Picky Rules of Writing” — a strict, opinionated set of 41 rules covering sentence structure, grammar, argumentation, diction, and formatting. The model is designed for students, writers, and anyone who wants rigorous, rule-grounded feedback on their writing.
Given a passage of text, the model identifies every violation of the Picky Rules, cites the rule number and name, explains why the violation matters, and suggests a concrete revision. When no violations are found, it responds with a brief note on what the writing does well.
New to Ollama? See how to set it up and use it here. It only takes a few minutes!
Once you have installed Ollama, install the model using this command: ollama pull haasrr/pickyrules. Let the install complete.
Then simply launch the Ollama interface and and paste your text at the prompt. No commands, no flags — the model accepts raw prose and returns a structured analysis of any rule violations it finds.
You can still ask follow-up questions because the model has enough Gemma personality to recognize that your prompt is dialog rather than more raw prose, which is helpful for challenging a recommendation or clarifying it.
>>> There are many reasons why passive voice is problematic in academic writing.
Violations found:
**Rule 1 — Weak expletive opener**: "There are" delays the real subject...
**Rule 9 — Passive voice**: "is problematic" weakens the claim...
If your writing is clean:
You go girl!
[brief note on what the writing does well]
pickyrules is Gemma 4 E2B fine-tuned with LoRA using Unsloth on a synthetic dataset of 875 training examples — roughly 19–22 examples per rule — covering single violations, compound violations, edge cases, and clean passages (no violations). The model trained for 3 epochs, ending with an average loss of ~0.87 in the last epoch. I expect to be able to improve the loss to around 0.3-0.6 if I ever bother to make better training data.
| Base model | google/gemma-4-e2b-it |
| Fine-tuning method | QLoRA (4-bit) via Unsloth |
| Training examples | 875 (≈19–22 per rule) |
| Epochs | 3 |
| Rules covered | All 41 of Dr. Dubay’s Picky Rules (see below) |
| Size | 6.2 GB |
| Context window | 128K tokens or ~96K words (0.75 words/token * 128K = 96K) |
| Input | Only text for now |
The rest of this document is Dr. Dubay’s Picky Rules…
Borrowed and adapted with permission from “Professor Harvey’s Picky Rules of Writing” adapted from “Prof. Cohen’s 39 Picky Rules”
1. Do not begin sentences in any of the following ways: “There are/is…”, “This is…”, “It is…,” etc.
2. Do not use “this,” “these,” “that,” “those,” “which,” or “it” unless the word has a clear and unmistakable antecedent nearby. Never begin a sentence with “this” unless you follow it immediately with a noun that re-identifies the idea to which you are referring.
3. Never publicly dangle a participle or misplace a modifier: write “Showing unmistakable signs of ignorance, the student did not persuade his professor;” NOT “The student did not persuade his professor, showing unmistakable signs of ignorance.”
4. Never write an incomplete sentence (participles — “ing” words — cannot stand as verbs). A verb must agree with its subject in person and number.
5. Know these three rules about commas:
6. Bury words like “however,” “furthermore,” “moreover,” “indeed,” etc. (conjunctive adverbs) in the clause or sentence; do not put them at the beginning. (E.g. “The students, however, learned something.”)
7. Be consistent when you have two or more parallel structures.
8. Do not end a sentence with a preposition.
9. Do not use the passive voice (“Careless students are failed by the ruthless professor”); use the active voice (“The ruthless professor fails careless students”). Because the active voice is direct and clear, this rule is the most important of style, but it has serious consequences for your meaning as well. Politicians, administrators, and those foolishly trying to avoid the consequences of their actions love the passive voice because it protects them from facts and responsibility: “Mistakes were made.”
10. Adverbs should be adverbs. Do not do it different — if you know what I am saying.
11. Walker’s Rule for Pronouns: every pronoun should have a clear antecedent to which it agrees in person, number, and gender.
12. Each paragraph must stick to the subject introduced by its first sentence. Most importantly, the first sentence of the first paragraph must establish the context of your paper. “John Wayne first appears in Stagecoach with a rifle in his hand.” NOT “Duke has a gun.”
13. Do not use one or two sentences as a paragraph.
14. Make the transition between your sentences and your paragraphs clear and logical. This task is the most difficult in writing, but, as you know, life is hard.
15. Give your paper a clear thesis sentence at the end of your first paragraph. If you can remember only one rule, this rule is the one you must remember. The first paragraph should also demonstrate how the rest of the paper is organized.
16. Avoid using quotations to begin or end a paragraph or a paper. Your own words are most important in those places.
17. In longer papers remind the reader of your thesis throughout the body of your paper.
18. Never just summarize or paraphrase. Assume your reader has read/seen it. I do not want to know what happened. I want to know your ideas about what happened.
19. Support your assertions and ideas with concrete examples, with brief quotes from the story, book, or film you are discussing, or with a short citation from some reliable authority.
20. Do not hedge. Words like “maybe,” “seem,” “perhaps,” and “might” do not keep you from being wrong; they merely alert the reader to the fact that you are worried about it.
21. Avoid vague generalizations: “as we all know,” “people say,” “since the beginning of time,” etc. Obvious claims such as “mankind would not exist without the heart” are equally lamentable.
22. Write about works of art in the present tense, since Hamlet will be stabbing Polonius and Roy Hobbs will be knocking the lights out with his home runs long after your grandchildren have forgotten your name.
23. Avoid rhetorical questions.
24. Delete the phrase “in the past” from your writing as well as any hint of chronological snobbery. Chronological snobbery is the erroneous assumption that, with the passage of time, mankind has gotten progressively wiser. In the past such a pedantic list of writing rules would have been unnecessary for undergraduates.
25. When citing a dictionary refer to the Oxford English Dictionary whenever possible.
26. Do not misspell words. Misspelled words look dumb; do not look dumb. Use a dictionary or a literate friend to check your spelling. On a word processor always use spell-check, but do not trust it! Possessing a limited vocabulary and undiscerning between right words spelled wrongly and wrong words spelled rightly, spell-check is no substitute for proofreading. Spell out one and two digit numbers.
27. Never use contractions.
28. A possessive without an apostrophe is a misspelled word. One exception is the possessive of “it”: “its.” “It is” contracts to “it’s.” Since you will not use contractions, you will never write “it’s” on a paper.
29. Choose the best word for the context. Your papers should be a place “where every word is at home, taking its place to support the others” (Eliot “Little Gidding,” V.217–218). Beware of unintended irony: an N.C. State basketballer once explained his ability to shoot with either hand, “yeah, I’m amphibious.” Suffice it to say this student-athlete, to avoid drowning in his coursework, crawled out of school and into the NBA.
30. Also beware these other egregious violations of Rule 29:
31. Use your smallest most Anglo-Saxon, most comfortable words; big words impress only high school teachers and smell of the thesaurus.
32. Lose the word “very” and, like, you know, other gratuitous additives from, you know, your written and spoken vocabulary.
33. Number your pages at the top right-hand corner.
34. Give your paper an informative title. The name of the work you are dealing with is NOT the title of your paper. “Shakespeare’s Use of Time in Hamlet” is by a thoughtful person; “It Takes a Broken Egghead to Make a Hamlet” is by a clown; Hamlet is by Shakespeare.
35. Italicize or underline all full-length films, plays, and books. Do likewise with magazine and newspaper titles. Short stories, film shorts, one-act plays, and articles go in quotation marks (“…”). Do not underline or put your own title in quotation marks.
36. On those extremely rare occasions when you quote more than two lines of text, indent and single space the quotation, and leave off the quotation marks.
37. When you quote from or refer to a source, cite it appropriately and include a works cited page of some kind.
38. Do not use an ellipsis (…) to begin or end a quotation. An ellipsis denotes an omission of text and should only occur in the middle of a quotation.
39. Before handing in your final copy, have an intelligent friend read your paper to you; then fix it.
40. Be safe: frequently save your file, and if possible keep a hard copy, and/or a version on another drive.
41. Do not hand in a paper unless you have come to care about it. You believe in goodness and truth; therefore, commit yourself to communicating your ideas well and true.