Skip to content

Ardent10/large-language-models

Repository files navigation

Large Language Models(LLM)

alt text

Description

Features

  • Create Custom Models: Build AI models tailored to specific requirements using an intuitive interface.
  • Explore Pre-built Models: Discover the latest advancements in AI technology and explore new use cases through a curated collection of models.
  • Effortless Content Generation: Utilize powerful models like GPT-3.5 Turbo, DALL-E, and Gemini to generate text, images, and more with ease.
  • Comprehensive Model Library: Access a diverse array of Large Language Models (LLMs), each designed to excel in specific domains, from language translation to creative artistry.
  • Dedicated Models Page: Delve deeper into each model's features, capabilities, and potential use cases through detailed documentation and examples.

Application Overview

LLM Whimsical Application overview

Installation

# Clone the repository
git clone https://github.com/Ardent10/large-language-models.git

# Navigate into the project directory
cd large-language-models.git

# Install dependencies
yarn

Environment Variables

# Firebase Config
VITE_FIREBASE_APIKEY="YOUR_KEY"
VITE_FIREBASE_AUTHDOMAIN="YOUR_KEY"
VITE_FIREBASE_PROJECTID="YOUR_KEY"
VITE_FIREBASE_STORAGEBUCKET= "YOUR_KEY"
VITE_FIREBASE_MESSAGINGSENDERID="YOUR_KEY"
VITE_FIREBASE_APPID="YOUR_KEY"


# TinyMCE API Key
VITE_TINYMCE_API_KEY="YOUR_KEY"

# Modles API Credentials
VITE_FIREBASE_MODEL_COLLECTION_NAME="YOUR_KEY"
VITE_FIREBASE_SUBMODEL_COLLECTION_NAME="YOUR_KEY"
VITE_FIREBASE_USER_COLLECTION_NAME="YOUR_KEY"

# Open AI KEY
VITE_OPENAI_API_KEY="YOUR_KEY"

# Gemini AI KEY
VITE_GEMINI_API_KEY="YOUR_KEY"

Dependencies

- "@emotion/react": "^11.11.4",
- "@emotion/styled": "^11.11.0",
- "@google/generative-ai": "^0.3.1",
- "@hookform/resolvers": "^3.3.4",
- "@mui/icons-material": "^5.15.14",
- "@mui/material": "^5.15.14",
- "@radix-ui/react-navigation-menu": "^1.1.4",
- "@tinymce/tinymce-react": "^4.3.2",
- "dayjs": "^1.11.10",
- "dompurify": "^3.0.11",
- "firebase": "^10.9.0",
- "framer-motion": "^11.0.24",
- "marked": "^12.0.1",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "react-dropzone": "^14.2.3",
- "react-hook-form": "^7.51.1",
- "react-router-dom": "^6.22.3",
- "tailwind-merge": "^2.2.2",
- "tailwindcss-animate": "^1.0.7",
- "zod": "^3.22.4"

Optimization

  • Lazy Loading: Components and modules are loaded asynchronously, reducing initial load times by loading only the necessary code when needed.
  • Code Splitting: The application is divided into smaller, independent modules, each responsible for a specific feature or functionality. This allows for better organization, improved maintainability, and optimized loading of resources.
  • Modular Architecture: The application is structured with a modular architecture, promoting high cohesion and low coupling between modules. This enhances scalability, maintainability, and reusability of code.
  • High Cohesion, Low Coupling: Modules are designed to have high cohesion, meaning that each module contains related functionality, and low coupling, meaning that modules are loosely interconnected. This promotes better isolation of concerns and reduces dependencies between modules, leading to a more robust and flexible codebase.