https://github.com/yangboz/finacial_text_classifier
using fastapi to wrap up the codebase of https://www.youtube.com/watch?v=i6qL3NqFjs4
https://github.com/yangboz/finacial_text_classifier
Last synced: 6 months ago
JSON representation
using fastapi to wrap up the codebase of https://www.youtube.com/watch?v=i6qL3NqFjs4
- Host: GitHub
- URL: https://github.com/yangboz/finacial_text_classifier
- Owner: yangboz
- License: mit
- Created: 2022-05-24T02:41:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T02:06:29.000Z (over 3 years ago)
- Last Synced: 2025-02-08T05:17:55.464Z (8 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# finacial_text_classifier
using fastapi to wrap up the codebase of https://www.youtube.com/watch?v=i6qL3NqFjs4## how to run it ?
### fastapi
```
pip install -r requirements.txt
``````
uvicorn uvicorn main:app --reload
```### dockerize it at first
```
docker build -t localhost/finacial_text_classifier .
```### docker run it
```
docker run -p 8000:8000 localhost/finacial_text_classifier
```again , thanks for the pretty author of https://www.youtube.com/watch?v=i6qL3NqFjs4 :)
## references:
TF-IDF: https://www.geeksforgeeks.org/understanding-tf-idf-term-frequency-inverse-document-frequency/fastapi: https://fastapi.tiangolo.com/
Docker: https://fastapi.tiangolo.com/deployment/docker/