Skip to content

An experiment replicating part of "Why Literary Time is Measured in Minutes" with GPT-4.

Notifications You must be signed in to change notification settings

tedunderwood/fictional-time-with-GPT4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Estimating fictional time with large language models

A casual replication of part of "Why Literary Time is Measured in Minutes" using ChatGPT and GPT-4 through the OpenAI API.

Please note this is casual work for a blog post, and is currently documented lightly. Also a couple parts are not done as carefully as I would for an article: e.g. in the bag of words solution I select features for test and training at once, pooling both sets, which is not good practice if you're being careful.

The API interactions are in GetTimes.ipynb (which uses Chat) and GetTimesGPT4.ipynb (GPT-4).

The output of those scripts goes to output2.tsv (for Chat) and outputGPT4.tsv (for GPT-4). There you can see the original passages of fiction, plus the Assistant's responses to them, and times estimated by both the human reader and the model.

I'll document this a little more carefully later today.

About

An experiment replicating part of "Why Literary Time is Measured in Minutes" with GPT-4.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published