Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 625 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 625 Bytes

Token Viz

Token Viz is a project that utilizes FastAPI, Hugging Face, and basic HTML, JS, and CSS to visually demonstrate tokenization.

Token Viz

Installation

  1. Clone the repository:
git clone https://github.com/your-username/token-viz.git
  1. Navigate to the project directory:
cd token-viz
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

  1. Start the FastAPI server:
uvicorn main:app --port 8000  --reload
  1. Open your web browser and go to http://localhost:8000 to access the Token Viz interface.