Jul 30One-Click Deployment of Llama2 and Other Open-Source LLMs Using Hugging Face Inference EndpointIn my earlier articles, we explored the process of setting up a ChatGPT-like user interface on your personal computer. This was achieved using the OpenAI API, specifically GPT-3.5 and GPT-4, in conjunction with Llama2. Implementing Local ChatGPT Using Streamlit Implementing Locally-Hosted Llama2 Chat UI Using Streamlit Integrating the ChatPDF Feature…Llama 26 min readLlama 26 min read
Jul 27Integrating the ChatPDF Feature into a Local Streamlit Chat Interface, Including Non-OpenAI Models (Llama2)In continuation of my last blog post, I’m now set to introduce a feature that allows the chat to utilize information from a loaded PDF while responding to user queries. This feature aptly corresponds to a.k.a. “ChatPDF”. The image below provides a glimpse of the final look once all the…ChatGPT11 min readChatGPT11 min read
Jul 23Implementing Locally-Hosted Llama2 Chat UI Using StreamlitIn this blog post, we’re going to build upon the chat feature I introduced in my previous article. In that piece, I utilized the OpenAI API to enable the chat to respond to my queries. However, this approach had its drawbacks, including the costs associated with API calls and the…Python8 min readPython8 min read
Jul 21Implementing Local ChatGPT Using StreamlitIn this brief post, we’ll delve into the specifics of implementing a ChatGPT chat interface using the OpenAI API on your local machine, powered by Streamlit. Only three days ago, Meta introduced a new product: Llama2. Though not technically open-source, for the purpose of this article, we will refer to…Llm5 min readLlm5 min read
Jun 11, 2022Proposing a New AI Concept “Actionable AI”A new concept to make the AI more business-valuable. — Introduction Explainable AI is getting a full bloom. It points a group of AI methods that can be understood by humans and ‘open the black box’ in machine learning; by clarifying what factor makes how much contribution to the machine learning outcome. Responsible AI is a kind of child of Explainable…Artificial Intelligence4 min readArtificial Intelligence4 min read
May 19, 2022A Case Study of Applying Numerical Optimization to Marketing PlanningEC site coupon distribution planning — Optimization is widely used in the data science field. Implicitly, almost any data models are tuned to minimize the loss function through numeric optimization. The way recently people are getting more attention to is to use the optimization for the purpose of best allocation of the resources in order to…Optimization9 min readOptimization9 min read
Mar 14, 2022Bootstrapping on Time Series Data — “Moving Block Bootstrap”Bootstrapping on the data having serial correlation — Bootstrap in General “Bootstrapping” in the field of statistics is a model-agnostic methodology to generate synthetic datasets for table data, for the two purposes; First, producing the bagging estimate through aggregation of multiple model results, and Second, getting the distribution of error so that we can also evaluate the certainty of estimate in…Bootstrap4 min readBootstrap4 min read
Published inTowards Data Science·Sep 18, 2020Member-onlyCreating an iPhone App-Like Only With Your Data Science Skills: One-Tap Life Logger Linked to Google SheetsAll you use are Python and GCP Cloud Functions or Heroku. — I haven’t trained myself as a mobile app developer, therefore having my own app on my iPhone is beyond my fair dream. …Python8 min readPython8 min read
Published inTowards Data Science·Sep 11, 2020Fundamentals of Data Architecture to Help Data Scientists Understand Architectural Diagrams BetterBefore pretending you understand the diagram your smart colleague shows to you. — Introduction Within a company using data to derive business value, although you may not be appreciated with your data science skills all the time, you always are when you manage the data infrastructure well. Everyone wants the data stored in an accessible location, cleaned up…Data Science10 min readData Science10 min read
Published inThe Startup·Aug 22, 2020Facebook Prophet(Almost) everything you should know to use Facebook Prophet like a pro, with many example Python codes👨🏿💻 and cheat sheet🧾 — What is Prophet? “Prophet” is an open-sourced library available on R or Python which helps users analyze and forecast time-series values released in 2017. With developers’ great efforts to make the time-series data analysis be available without expert works, it is highly user-friendly but still highly customizable, even to non-expert users. How lovely!!Time Series Analysis7 min readTime Series Analysis7 min read