Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

kagglex-final-project

A prototype written in Python to illustrate/demonstrate querying the Learning Path Index Dataset (see Kaggle Dataset and GitHub repo), with the help of the OpenAI GPT technology (InstructHPT model and embeddings model), Langchain and using Facebook's FAISS library.

image

The end-to-end process can be learnt by going through the code base as well as by observing the console logs when using both the Streamlit and the CLI versions.

Pre-requisites

  • Python 3.8.x or above
  • OpenAI API Key (see How to get an OpenAI API Key -- note it's may not be FREE anymore)
  • Install dependencies from requirements.txt
  • Basic Command-line experience
  • Basic git and GitHub experience

Install and run

Copy the .env_template to .env in the current folder and then add your OpenAI API Key to .env. Please don't modify the .env_template file.

pip install -r requirements.txt

Interactive session via CLI app

python main.py

image

Interactive session via Streamlit app

streamlit run main.py

image


Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model's library. Check the docs .