CoolFace
Apppublic

jskinner215/TAPASxHF2

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
App README

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:

  1. 1.CSVLoader: This class will have methods for uploading CSV files and converting them into pandas dataframes with the required structure.
  2. 2.EmbeddingGenerator: This class will have a method for generating embeddings for the data using the SentenceTransformer model.
  3. 3.ChromaDBIndexer: This class will have methods for creating a chroma db index and uploading the generated embeddings to the index.
  4. 4.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.
  5. 5.AnswerPresenter: This class will have methods for presenting the answers returned from TAPAS in the UI and executing any suggested aggregator functions.
  6. 6.run.sh: This is the entrypoint of the program. It will start the application and handle any command line arguments.
  7. 7.requirements.txt: This file will list all the Python package dependencies for the application.