Coder Social home page Coder Social logo

ai-hackathon-ie-2023's Introduction

๐Ÿš€ submission V2

  1. Our software uses python 3.11.5
  2. pip install -r requirements.txt
  3. python main.py [dataset] [output] --gpt4
  • dataset - the directory with all the content to process
  • output the name of the file to write to Ex: out.csv
  • --gpt4 for better performance please use this option

ai-hackathon-ie-2023's People

Contributors

velocitatem avatar jose-izarra avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ai-hackathon-ie-2023's Issues

Modify IO of the program

  • Add arguments to the main program: dataset and output name
  • Instead of getting the files by the Excel sheet, load all pdf and PDF from directory of interest
  • If something is not found, put it as Nan
  • Reformat data back to just a list for lists rather than 5 separate columns

Fix CSV Parser

Currently, the method for parsing the data into a CSV is not great, we should do something better than just appending strings, maybe the ideal would be to use df.to_csv()

Create a More Descriptive model for data

class Beta(BaseModel):
Isin: str
Issuer: str
Ccy: str
Underlying: List[str] = ["SX5E", "UKX", "SPX"]
Strike: List[float]
LaunchDate: str = "31.12.2021"
FinalValDay: str = "31.12.2022"
Maturity: str = "31.12.2023"
Cap: int
Barrier: int

Each of these items in the class have a ๐Ÿ’ฉ description for now :(

Document page iteration

Instead of passing the whole document as one large string, it could be better to provide each page individually, extract the data, and then store it.

We are currently giving it all the data as a concatenated string, which causes issues with the tokens it takes to process the request (due to the string being too long), and some pages provide no relevant information, meaning that it could potentially cause an overload. One of the possibilities we thought about was to pass each page individually, helping the total length by keeping it short and extracting the data from each page with the possibility of discarding useless pages. However, one of the issues that might pop up by using this method is the model modifying correct data. The best solution for this is to get the accuracy scores for each individual page and make the most accurate results the final ones.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.