asterbraid commited on
Commit
ccdd20a
·
verified ·
1 Parent(s): 709f2bf

Use verified prompt examples and document paraphrase sensitivity

Browse files
Files changed (2) hide show
  1. OLLAMA.md +3 -1
  2. README.md +3 -3
OLLAMA.md CHANGED
@@ -9,7 +9,7 @@ ollama create awkweave-0.5b -f Modelfile
9
  Generate a program with a request and representative input:
10
 
11
  ```bash
12
- ollama run awkweave-0.5b $'Request:\nPrint each name and the running total of column 2.\n\nSample input:\n```text\nalice 10\nbruno 15\nchen 7\n```'
13
  ```
14
 
15
  Expected output:
@@ -33,3 +33,5 @@ chen 32
33
  ```
34
 
35
  For a local HTTP API, use `llama-server` with `awkweave-0.5b.Q4_K_M.gguf` or the larger Q8_0 build. The 1.5B sibling model is more accurate on the frozen evaluation; choose based on your speed and accuracy needs.
 
 
 
9
  Generate a program with a request and representative input:
10
 
11
  ```bash
12
+ ollama run awkweave-0.5b $'Request:\nFor each record, print column 1 and the running sum of column 2, separated by a space.\n\nSample input:\n```text\nalice 10\nbruno 15\nchen 7\n```'
13
  ```
14
 
15
  Expected output:
 
33
  ```
34
 
35
  For a local HTTP API, use `llama-server` with `awkweave-0.5b.Q4_K_M.gguf` or the larger Q8_0 build. The 1.5B sibling model is more accurate on the frozen evaluation; choose based on your speed and accuracy needs.
36
+
37
+ Outputs can be sensitive to request phrasing. Prefer explicit field positions and operations, and review generated programs before execution.
README.md CHANGED
@@ -83,7 +83,7 @@ farah 127
83
  from awkweave.model import generate_program
84
 
85
  program = generate_program(
86
- "Print each name and the running total of column 2.",
87
  "alice 10\nbruno 15\nchen 7\n",
88
  "asterbraid/awkweave-0.5b",
89
  )
@@ -96,7 +96,7 @@ Or clone this repository for the CLI:
96
  git clone https://huggingface.co/asterbraid/awkweave-0.5b
97
  cd awkweave-0.5b
98
  pip install -e '.[model]'
99
- printf 'alice 10\nbruno 15\n' | awkweave --model asterbraid/awkweave-0.5b 'Print the running sum of column 2'
100
  ```
101
 
102
  Python 3.10+ and `awk` are required. Add `--run` to print the program to stderr and execute it with the included safety guard.
@@ -126,7 +126,7 @@ Every reference program was execution-verified on two inputs. Full settings are
126
 
127
  ## Limitations
128
 
129
- English only, single-input POSIX-style `awk`, simple CSV without quoted commas, and no multi-file joins or external pipelines. It is not a general chatbot or shell assistant. Complex or out-of-scope requests can fail. The small frozen set does not establish broad reliability.
130
 
131
  ## License
132
 
 
83
  from awkweave.model import generate_program
84
 
85
  program = generate_program(
86
+ "For each record, print column 1 and the running sum of column 2, separated by a space.",
87
  "alice 10\nbruno 15\nchen 7\n",
88
  "asterbraid/awkweave-0.5b",
89
  )
 
96
  git clone https://huggingface.co/asterbraid/awkweave-0.5b
97
  cd awkweave-0.5b
98
  pip install -e '.[model]'
99
+ printf 'alice 10\nbruno 15\n' | awkweave --model asterbraid/awkweave-0.5b 'For each record, print column 1 and the running sum of column 2, separated by a space.'
100
  ```
101
 
102
  Python 3.10+ and `awk` are required. Add `--run` to print the program to stderr and execute it with the included safety guard.
 
126
 
127
  ## Limitations
128
 
129
+ English only, single-input POSIX-style `awk`, simple CSV without quoted commas, and no multi-file joins or external pipelines. It is not a general chatbot or shell assistant. Complex or out-of-scope requests can fail. Outputs can be sensitive to request phrasing, so prefer explicit field positions and operations. The small frozen set does not establish broad reliability.
130
 
131
  ## License
132