Skip to content

百川大语言模型 53B API版本wrapper - Wrapper around Baichuan API

License

Notifications You must be signed in to change notification settings

Blacklake-Tech/baichuan_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baichuan API

Python CI

百川大语言模型 53B 版本 API wrapper / Wrapper around Baichuan 53B API

Running locally in dev mode

# install dependencies
poetry install
# run
uvicorn baichuan_api.app:app --reload
# open in browser http://localhost:8000/chat?msg=Somos+Banditos
# you can use multiple msg query params to send multiple messages

Running with docker

# building image
docker build -t baichuan_api .
# run
docker run -it --rm -v $(pwd):/app -p 8000:8000 baichuan_api
# open in browser http://localhost:8000/chat?msg=Somos+Banditos
# you can use multiple msg query params to send multiple messages

About

百川大语言模型 53B API版本wrapper - Wrapper around Baichuan API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published