Web app with DeepSeek R1 and Hugging Face API for chatting
[This article was first published on T. Moudiki's Webpage - R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Inspired by this publication using R https://www.freecodecamp.org/news/how-to-create-a-deepseek-r1-api-in-r-with-plumber/, I created a simple Python Flask API to use DeepSeek R1 and Hugging Face API for chatting.
The code can be found here:
https://github.com/thierrymoudiki/flask-deepseek
Here is a demo:
To leave a comment for the author, please follow the link and comment on their blog: T. Moudiki's Webpage - R.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.