Skip to content

Serve the AI Singapore SEA-LION model ⚛ with TGI

License

Notifications You must be signed in to change notification settings

aisingapore/sealion-tgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Singapore SEA-LION model served by Text Generation Inference (TGI) with Docker Compose

Model

Requirements

Quick Start

  • Start the service.
    docker compose up
  • TGI is deployed as a server that implements the OpenAI API protocol. By default, it starts the server at http://localhost:8000. This server can be queried in the same format as OpenAI API. For example:
    curl http://localhost:8000/v1/completions \
      -H "Content-Type: application/json" \
      -d '{
          "model": "llama3-8b-cpt-sea-lionv2.1-instruct",
          "prompt": "Artificial Intelligence is",
          "max_tokens": 20,
          "temperature": 0.8,
          "repetition_penalty": 1.2
      }'

About

Serve the AI Singapore SEA-LION model ⚛ with TGI

Topics

Resources

License

Stars

Watchers

Forks

Languages