unstructured/examples/sec-sentiment-analysis
qued 007fc45739
chore: new black changes (#2473)
Update `black` and apply changes to affected files. I separated this PR
so we can have a look at the changes and decide whether we want to:
1. Go forward with the new formatting
2. Change the black config to make the old formatting valid
3. Get rid of black entirely and just use `ruff`
4. Do something I haven't thought of
2024-01-30 17:12:35 +00:00
..
2024-01-30 17:12:35 +00:00
2024-01-09 23:37:30 +00:00

SEC Sentiment Analysis Model

This directory contains an example of how to use the SEC API, the Unstructured SEC pipeline API, and several functions from the unstructured library to train a sentiment analysis model for the risk factors section of S-1 filings. To get started, use the following steps:

  • Ensure you have Python 3.10 or higher installed on your system
  • Create a new Python virtual environment
  • Run pip install -r requirements.txt to install the dependencies
  • Run PYTHONPATH=. jupyter notebook from this directory to launch the notebook

At this point, you'll be able to run the sentiment analysis example notebook.