Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pleias/bsf_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bsf_docker

Usage

1. Set up

We recommend using this app with uv as package manager

pip install uv
uv sync

Download the RAG GGUF model you want and place it in the models folder (we recommend the 350m version):

Launching the app

python -m src.main

CLI arguments: You can add an argument to choose if you want to use only the French, English or both versions (default is both). You can also set up debug mode and stream mode, and control the host and port from there (see --help for more)

python -m src.main -t both --debug --stream --p 8081

Docker Image

You can run the app using our pre-built image on Docker Hub:

# Pull the image
docker pull mdelsart/redline_app_350m:latest

# Run it, mapping port 8081
docker run -p 8081:8081 \
  --name red-line-app \
  mdelsart/redline_app_350m:latest

You can then access the app at: http://localhost:8081

Note: A version of the app with the 1B is also accessible - it is heavier and slower but slightly more accurate. You can access it at mdelsart/redline_app_1b:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors