Skip to content

Commit 8b36e1a

Browse files
committed
Update README
1 parent 96290ae commit 8b36e1a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,7 @@ and pass the path to `client.files.upload` to upload it to OpenAI, and then inte
151151

152152
### Fine-tunes
153153

154-
Put your fine-tuning data in a `.jsonl` file like this:
155-
156-
```json
157-
{"prompt":"Overjoyed with my new phone! ->", "completion":" positive"}
158-
{"prompt":"@lakers disappoint for a third straight night ->", "completion":" negative"}
159-
```
160-
161-
and pass the path to `client.files.upload` to upload it to OpenAI and get its ID:
154+
Upload your fine-tuning data in a `.jsonl` file as above and get its ID:
162155

163156
```ruby
164157
response = client.files.upload(parameters: { file: "path/to/sentiment.jsonl", purpose: "fine-tune" })

0 commit comments

Comments
 (0)