jskinner215/TAPASxHF2
0
title: TAPASxHF2 emoji: ๐ colorFrom: yellow colorTo: blue sdk: streamlit sdkversion: 1.26.0 appfile: app.py pinned: false ---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Here are the main classes, functions, and methods that will be implemented:
CSVLoader: This class will have methods for uploading CSV files and converting them into pandas dataframes with the required structure.EmbeddingGenerator: This class will have a method for generating embeddings for the data using the SentenceTransformer model.ChromaDBIndexer: This class will have methods for creating a chroma db index and uploading the generated embeddings to the index.QuestionAnswerer: This class will have methods for processing user's queries, querying the chroma db for the relevant table, and running the table and query through the TAPAS pipeline for answering.AnswerPresenter: This class will have methods for presenting the answers returned from TAPAS in the UI and executing any suggested aggregator functions.run.sh: This is the entrypoint of the program. It will start the application and handle any command line arguments.requirements.txt: This file will list all the Python package dependencies for the application.
