Overview
Gigax/NPC-LLM-7B is a 7 billion parameter language model, fine-tuned by Gigax from a Mistral-7B base, specifically for generating Non-Player Character (NPC) actions and dialogue within game environments. It processes detailed text descriptions of game scenes and outputs structured commands, such as say <player> "dialogue" or attack <player>.
Key Capabilities
- Domain-Specific NPC Behavior: Optimized for generating contextually relevant actions and dialogue for NPCs in games.
- Structured Output: Produces commands in a predefined
<action> <param> format, enabling direct integration into game logic. - Guided Generation: Designed to work with libraries like
outlines to enforce output format, ensuring reliable parsing. - Contextual Understanding: Utilizes detailed game state information, including world knowledge, locations, NPCs, protagonist profiles, memories, quests, and available skills, to inform its outputs.
- Overfit for Specific Prompt Format: Achieves optimal performance when provided with the exact input prompt structure it was trained on.
Good For
- Game Development: Ideal for developers looking to implement dynamic and interactive NPC behaviors without extensive manual scripting.
- AI-Powered Storytelling: Generating character actions and dialogue that respond intelligently to game events and player interactions.
- Prototyping Game Mechanics: Quickly testing different NPC responses and interactions within a game environment.