Deploy-BERT-for-Sentiment-Analysis-with-FastAPI icon indicating copy to clipboard operation
Deploy-BERT-for-Sentiment-Analysis-with-FastAPI copied to clipboard

Deploy BERT for Sentiment Analysis as REST API using FastAPI, Transformers by Hugging Face and PyTorch

Results 8 Deploy-BERT-for-Sentiment-Analysis-with-FastAPI issues
Sort by recently updated
recently updated
newest added

Bumps [numpy](https://github.com/numpy/numpy) from 1.18.3 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

![Uploading image.png…]()

essentially i just git cloned the repository and ran "python3 bin/download_model". then i just ran the "uvicorn sentiment_analyzer.api:app". I, however, installed all the dependencies individually as i was having issues...

The `http` command, probably provided by `httpie`, is missing from the _dev_ requirements. Maybe just include it into the `Pipfile` to provide an out-of-the-box working example.

```bash bin/download_model ``` ```bash Downloading... From: https://drive.google.com/uc?id=1V8itWtowCYnb2Bc9KlK9SxGff9WwmogA To: /home/koerner/work/test/Deploy-BERT-for-Sentiment-Analysis-with-FastAPI/assets/model_state_dict.bin Traceback (most recent call last): File "./bin/download_model", line 4, in gdown.download( File "/home/koerner/work/test/Deploy-BERT-for-Sentiment-Analysis-with-FastAPI/venv/lib/python3.8/site-packages/gdown/download.py", line 153, in download f = open(tmp_file, "wb")...

Bumps [joblib](https://github.com/joblib/joblib) from 0.14.1 to 1.2.0. Changelog Sourced from joblib's changelog. Release 1.2.0 Fix a security issue where eval(pre_dispatch) could potentially run arbitrary code. Now only basic numerics are supported....

dependencies

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.9 to 1.26.5. Release notes Sourced from urllib3's releases. 1.26.5 :warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap Fixed...

dependencies

Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.4.5.1 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...

dependencies