Skip to content

Commit 860ee4b

Browse files
committed
Add pytest config and sample training data
1 parent 5b89dce commit 860ee4b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

data/train.jsonl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{"instruction": "What is the capital of France?", "output": "The capital of France is Paris."}
2+
{"instruction": "Explain photosynthesis in simple terms.", "output": "Photosynthesis is the process by which plants convert sunlight, water, and carbon dioxide into energy and oxygen."}
3+
{"instruction": "Write a haiku about coding.", "output": "Lines of code unfold,\nLogic dances through the night,\nBugs fixed, dawn arrives."}

pytest.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[pytest]
2+
testpaths = tests
3+
python_files = test_*.py
4+
python_classes = Test*
5+
python_functions = test_*
6+
asyncio_mode = auto

0 commit comments

Comments
 (0)