claudish README

The project's README from github.com/programasweights/claudish. As one markdown file: 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.

claudish (programasweights/claudish)

Searching Database…

这是什么?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 到英语的翻译。
Size
<0.1 MB
Stars
272
Updated
CommitAug 29
Age
1mo
Commits · 90 Days