Datasets:
Rebrand to While AI
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ language:
|
|
| 5 |
task_categories:
|
| 6 |
- text-generation
|
| 7 |
tags:
|
| 8 |
-
-
|
| 9 |
- character-training
|
| 10 |
- constitutional-ai
|
| 11 |
- model-spec
|
|
@@ -36,9 +36,9 @@ configs:
|
|
| 36 |
Graded replies for character training: a model answering the style prompts of the
|
| 37 |
[OpenAI Model Spec](https://github.com/openai/model_spec) (8 traits) under a bare
|
| 38 |
deployment prompt, judged against each trait's principle. Made by
|
| 39 |
-
[`examples/character`](https://github.com/Zero-Proof-AI/
|
| 40 |
-
in the [
|
| 41 |
-
[docs/character-training.md](https://github.com/Zero-Proof-AI/
|
| 42 |
and the page is [zeroproofai.com/docs/character-training](https://zeroproofai.com/docs/character-training).
|
| 43 |
|
| 44 |
| split | rows | prompts | pass rate | what |
|
|
@@ -67,7 +67,7 @@ train = load_dataset("zeroproofai/character-training-model-spec", split="train")
|
|
| 67 |
Or with the SDK, which reads the typed row (`Task`, `Rollout`, `Judgment`, `Marker`):
|
| 68 |
|
| 69 |
```python
|
| 70 |
-
import json,
|
| 71 |
rows = [json.loads(l) for l in open("data/train-00000.jsonl", encoding="utf-8")]
|
| 72 |
pairs, report = zps.build_preference_pairs(rows, length_match=True)
|
| 73 |
zps.export_preference(pairs, "pairs.jsonl", system_prompt="You are Sol, an assistant.")
|
|
@@ -77,6 +77,6 @@ print(zps.judge_agreement([json.loads(l) for l in open("data/eval-00000.jsonl",
|
|
| 77 |
## Provenance
|
| 78 |
|
| 79 |
`constitution.json` is parsed from the Model Spec's markdown source (commit 7f1cf79, CC0). The
|
| 80 |
-
spec's one explicit-content refusal example is left out. `
|
| 81 |
-
|
| 82 |
quote is CC0.
|
|
|
|
| 5 |
task_categories:
|
| 6 |
- text-generation
|
| 7 |
tags:
|
| 8 |
+
- while-ai
|
| 9 |
- character-training
|
| 10 |
- constitutional-ai
|
| 11 |
- model-spec
|
|
|
|
| 36 |
Graded replies for character training: a model answering the style prompts of the
|
| 37 |
[OpenAI Model Spec](https://github.com/openai/model_spec) (8 traits) under a bare
|
| 38 |
deployment prompt, judged against each trait's principle. Made by
|
| 39 |
+
[`examples/character`](https://github.com/Zero-Proof-AI/sdk/tree/main/examples/character)
|
| 40 |
+
in the [while-ai](https://pypi.org/project/while-ai/) SDK (0.24); the recipe is
|
| 41 |
+
[docs/character-training.md](https://github.com/Zero-Proof-AI/sdk/blob/main/docs/character-training.md)
|
| 42 |
and the page is [zeroproofai.com/docs/character-training](https://zeroproofai.com/docs/character-training).
|
| 43 |
|
| 44 |
| split | rows | prompts | pass rate | what |
|
|
|
|
| 67 |
Or with the SDK, which reads the typed row (`Task`, `Rollout`, `Judgment`, `Marker`):
|
| 68 |
|
| 69 |
```python
|
| 70 |
+
import json, while-ai.simulations as zps
|
| 71 |
rows = [json.loads(l) for l in open("data/train-00000.jsonl", encoding="utf-8")]
|
| 72 |
pairs, report = zps.build_preference_pairs(rows, length_match=True)
|
| 73 |
zps.export_preference(pairs, "pairs.jsonl", system_prompt="You are Sol, an assistant.")
|
|
|
|
| 77 |
## Provenance
|
| 78 |
|
| 79 |
`constitution.json` is parsed from the Model Spec's markdown source (commit 7f1cf79, CC0). The
|
| 80 |
+
spec's one explicit-content refusal example is left out. `while-ai.json` maps each split to the
|
| 81 |
+
While AI platform dataset it was pushed from. Rows are Apache-2.0 like the SDK; the spec text they
|
| 82 |
quote is CC0.
|