INNER CODE UNIT · TypeScript
displayNextSteps
theaniketgiri/create-llm · src/index.ts:15
function displayNextSteps(config: ProjectConfig, template: Template): void {
const { projectName, plugins } = config;
const modelSize = (template.config.model.parameters / 1_000_000).toFixed(0);
const templateName = config.template.toUpperCase();
// Header
console.log('\n' + chalk.green('═'.repeat(70)));
console.log(chalk.green.bold(' ✨ Project Created Successfully! ✨'));
console.log(chalk.green('═'.repeat(70)));
// Project Details
console.log(chalk.cyan.bold('\n📦 Project Details:'));
console.log(chalk.gray('─'.repeat(70)));
console.log(chalk.white(` 📁 Location: ${chalk.bold('./' + projectName)}`));
console.log(chalk.white(` 🎯 Template: ${chalk.bold(templateName)} (${modelSize}M parameters)`));
console.log(chalk.white(` 🤖 Model: ${chalk.bold(template.config.model.type.toUpperCase())}`));
console.log(chalk.white(` 📝 Tokenizer: ${chalk.bold(config.tokenizer.toUpperCase())}`));
console.log(chalk.white(` 💾 Hardware: ${chalk.bold(template.config.hardware.recommended_gpu || 'CPU-friendly')}`));