{"id":24483157,"url":"https://github.com/sukiboo/persona_simulation","last_synced_at":"2025-03-14T19:47:05.343Z","repository":{"id":183102552,"uuid":"669602449","full_name":"sukiboo/persona_simulation","owner":"sukiboo","description":"Simulate people with GPT models and generate response statistics","archived":false,"fork":false,"pushed_at":"2023-07-26T14:56:56.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T12:35:52.515Z","etag":null,"topics":["behavioral-science","gpt","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sukiboo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-22T20:17:30.000Z","updated_at":"2024-01-30T03:17:08.000Z","dependencies_parsed_at":"2025-01-21T12:41:49.302Z","dependency_job_id":null,"html_url":"https://github.com/sukiboo/persona_simulation","commit_stats":null,"previous_names":["sukiboo/persona_simulation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukiboo%2Fpersona_simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukiboo%2Fpersona_simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukiboo%2Fpersona_simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sukiboo%2Fpersona_simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sukiboo","download_url":"https://codeload.github.com/sukiboo/persona_simulation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243639405,"owners_count":20323505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behavioral-science","gpt","simulation"],"created_at":"2025-01-21T12:31:09.424Z","updated_at":"2025-03-14T19:47:05.319Z","avatar_url":"https://github.com/sukiboo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Persona Simulation\n\nSimulate people with GPT models and generate response statistics.\nNot sure how to do any of these things yet but we're working on it.\n\n## Collecting Responses\nA simulated survey is generated from a prompt file in `./prompts/` directory.\nPrompt file should consist by a series of prompts separated by `---`.\nFor example, a prompt file:\n```\nprompt1\n---\nprompt2\n---\nprompt3\n```\nwill result in the following conversation:\n```\nuser: prompt1\nassistant: response1\nuser: prompt2\nassistant: response2\nuser: prompt3\nassistant: response3\n```\n\nUse a prompt file `prompt_name.txt` to simulate a survey with `num` participants via the command\n```\npython -m collect_responses -p prompt_name -n num\n```\nThe default values for the arguments are `prompt_name=baseline` and `num=10`.\n\nA survey will be saved in `./data/prompt_name/` as a series of `.json` files numbered after each simulated participant.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukiboo%2Fpersona_simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsukiboo%2Fpersona_simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukiboo%2Fpersona_simulation/lists"}