1 parent 179b78b commit a857626Copy full SHA for a857626
1 file changed
README.md
@@ -304,7 +304,7 @@ async def collect_trajectories():
304
"context": obs.test_output,
305
"metadata": {"task_id": obs.task_id}
306
}
307
- # Append to training_data.jsonl...
+ # Append to training_data.jsonl....
308
```
309
310
### Zero-Shot Inference (HuggingFace)
@@ -320,7 +320,7 @@ fixer = pipeline("text-generation", model="Qwen/Qwen2.5-Coder-7B")
320
env = CodeFixEnvironment()
321
obs = env.reset(difficulty="easy")
322
323
-# Generate fix based on environment observation
+# Generate a fix based on environment observation
324
prompt = f"Fix this Python code based on these errors: {obs.test_output}\nCode:\n{obs.current_code}"
325
suggestion = fixer(prompt)
326
0 commit comments