This project enables the collection of story preferences through AI and human feedback. By combining advanced AI models with user input, it enhances story generation and delivers valuable datasets for benchmarking creative writing. Engage with the interactive web app and contribute to an evolving narrative landscape.
The Story Crowdsource Preference System is an innovative open-source platform designed to collect, analyze, and learn from preferences regarding story variations. By combining cutting-edge AI models with valuable human feedback, this system aims to significantly enhance story generation and preference learning.
Provider Configuration:
Customize AI provider settings:
PROVIDERS_CONFIG = {
"prompt": {
"provider": "github",
"model": "openai/gpt-4o-mini"
},
"variations": [
{
"provider": "gemini",
"model": "gemini/gemini-2.0-flash-exp"
},
{
"provider": "azure",
"model": "azure/gpt-4o-mini"
}
]
}
Training Configuration:
Example parameters for training:
config = {
'batch_size': 4,
'num_epochs': 5,
'learning_rate': 3e-5,
'test_size': 0.2,
'source_weights': {
'model': 1.0, # Weight from reward model feedback
'llm': 0.5, # Weight from LLM feedback
'human': 2.0 # Enhanced weight for human feedback
}
}
Contributions are encouraged and welcomed. Submissions via Pull Requests are highly appreciated, helping to enhance the project's capabilities.
No comments yet.
Sign in to be the first to comment.