Skip to content

Commit

Permalink
chore: emoji for README
Browse files Browse the repository at this point in the history
  • Loading branch information
HK-SHAO committed May 11, 2024
1 parent d692374 commit de103ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

YieldLang is a [meta-language](https://en.wikipedia.org/wiki/Metalanguage) for generating structured text (ST) that can provide corpora for large language models (LLMs) or guide LLMs to generate ST. Currently provided as a Python package.

- Based on a coroutine generator and sampler architecture
- Stream-sends characters and parses the context above into a syntax tree
- Build formal grammars with classes, methods, and combinators
- 🧠 Based on a coroutine generator and sampler architecture
- 🤖 Stream-sends characters and parses the context above into a syntax tree
- 🦾 Build formal grammars with classes, methods, and combinators

**Work in progress now.**

Expand Down
6 changes: 3 additions & 3 deletions README.zh-hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

YieldLang 是一个生成结构化文本 (ST) 的[元语言](https://en.wikipedia.org/wiki/Metalanguage),它可以为大语言模型 (LLM) 提供语料或引导 LLM 生成 ST 。目前以 Python 软件包的方式提供。

- 采用基于协程的生成器、采样器架构
- 流式发送字符的并解析上文为语法树
- 用类、方法、组合子来构建形式文法
- 🧠 采用基于协程的生成器、采样器架构
- 🤖 流式发送字符的并解析上文为语法树
- 🦾 用类、方法、组合子来构建形式文法


**目前还处于早期开发当中。**
Expand Down
2 changes: 1 addition & 1 deletion yieldlang/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .generator import TextGenerator, YContextTree
from .generator import TextGenerator, YContextTree, YGenerator
from .sampler import BaseSampler, RandomSampler
from .tree import YMiniTree, minify_ctx_tree

0 comments on commit de103ea

Please sign in to comment.