claudish README

项目的 README,来自 github.com/programasweights/claudish。合并为一个 markdown 文件:README.md。

Claudish

Translate between plain English and deliberately over-engineered “Claudish” with two tiny ProgramAsWeights functions.

Try the live demo

Python

pip install programasweights --extra-index-url https://pypi.programasweights.com/simple/
import programasweights as paw

to_claudish = paw.function("ca9d5165b6c8e6615529")
to_english = paw.function("e469f61ccab2699fbd51")

print(to_claudish("Only owners can merge."))
print(to_english("The honest shape is asymmetric: the data is correct; the format is hard to read. Correctness landed; legibility did not."))

The programs download once and then run locally. Pass no max_tokens; PAW stops naturally at EOS.

For a small command-line wrapper:

python translate.py to-claudish "The release can go out after Alice approves the final report."
python translate.py to-english "Here’s where I’d hold the line: do not launch until the tests pass. Green is the gate, not a suggestion."

Specs

Copy either spec into your own PAW program or adapt it for another model or workflow.

Public programs

Inspired by gvzdv/claudish-to-english. This is an unofficial parody project and is not affiliated with Anthropic.

Citation

The translation functions are described in Compile by Training (§6.3). If you use this demo in research, please cite that paper and Program-as-Weights for the underlying fuzzy-function programming model.

Compile by Training: Turning Natural-Language Specifications into Local Neural Functions

EMNLP 2026 System Demonstrations · Preprint

@inproceedings{deng-etal-2026-compile,
  title = {{Compile by Training: Turning Natural-Language Specifications into Local Neural Functions}},
  author = {Deng, Yuntian and Nie, Pengyu and Shieber, Stuart},
  editor = {Agrawal, Sweta and Abad, Alberto},
  booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing: System Demonstrations},
  month = oct,
  year = {2026},
  address = {Budapest, Hungary},
  publisher = {Association for Computational Linguistics},
  url = {https://aclanthology.org/2026.emnlp-demos.78/},
  doi = {10.18653/2026.emnlp-demos.78},
  pages = {830--839},
  ISBN = {979-8-89176-461-3}
}

Program-as-Weights: A Programming Paradigm for Fuzzy Functions

NeurIPS 2026 · Preprint

@inproceedings{zhang2026programasweights,
  title = {{Program-as-Weights: A Programming Paradigm for Fuzzy Functions}},
  author = {Zhang, Wentao and Hotsko, Liliana and Kim, Woojeong and Nie, Pengyu and Shieber, Stuart and Deng, Yuntian},
  booktitle = {The Fortieth Annual Conference on Neural Information Processing Systems},
  year = {2026},
  url = {https://arxiv.org/abs/2607.02512}
}

claudish (programasweights/claudish)

正在搜索数据库…

这是什么?Claudish 是一个恶搞项目,使用两个微型 “ProgramAsWeights”(PAW)函数,在普通英语和一种刻意过度设计的玩笑语言 “Claudish” 之间互译。它是非官方的粉丝项目,与 Anthropic 无关。
这是一个完整的应用,还是只是一些供我调用的函数?它是一个微型的 Python 库——只有两个 PAW 函数(english-to-claudish 和 claudish-to-english),外加一个把它们封装成小型命令行脚本的示例;没有独立的应用程序。
怎么让它跑起来?直接从 Python 调用这两个 PAW 函数,或按 README 所示把它们封装进一个小的 CLI 脚本;底层程序在首次运行时下载一次,之后在本地执行。
除了 Python 之外还需要安装别的东西吗?仓库中没有列出额外依赖,也不需要配置 Docker——就是纯 Python。
调用翻译函数时有什么要注意的坑?不要传入 max-tokens 限制——PAW 会在序列结束符处自然停止,因此无需手动调整 token(否则可能干扰正确输出)。
什么是 ProgramAsWeights(PAW)?PAW 是 Claudish 两个翻译函数背后的格式:它不是传统的手写脚本,而是把“程序”下载一次后在本地运行,完成英语到 Claudish 的翻译。
spec 文件是做什么用的?specs/english-to-claudish.md 和 specs/claudish-to-english.md 是 PAW 程序的规范说明;你可以把它们复制进自己的 PAW 程序,或改编后用于其他模型或工作流。
它和 Claude 或 Anthropic 有官方关系吗?没有。README 明确说明这是非官方的恶搞项目,与 Anthropic 无关,其灵感来自 gvzdv/claudish-to-english 项目。
在安装任何东西之前我能先试用吗?可以——README 里附了一个在线演示链接,你可以先在浏览器中试用英语到 Claudish、Claudish 到英语的翻译。
大小
<0.1 MB
星标
279
更新
提交Nov 07
时长
3个月
提交 · 90 天