Benjamin S Liang
Added documentation, website details to readme.
f058f94
---
title: Sentiment Analysis App
emoji: 🤖
colorFrom: pink
colorTo: purple
sdk: streamlit
sdk_version: 1.17.0
app_file: app.py
pinned: false
---
Link to Google Site: https://sites.google.com/nyu.edu/finetunedpatentanalysis/app
Link to huggingface model repo: https://huggingface.co/saccharinedreams/finetuned-distilbert-base-uncased-for-hupd
Link to huggingface app: https://huggingface.co/spaces/saccharinedreams/sentiment-analysis-app
# cs-gy-6613-project
Benjamin Liang's AI Project
Installation Steps
(Windows)
Install Docker Desktop and WSL2
Check that the WSL 2 feature are enabled. If not, enable it. https://learn.microsoft.com/en-us/windows/wsl/install. See below image for the necessary features (red underline).
![Alt text](images/feature.png?raw=true "Necessary features")
Turn on Docker Desktop and check that "Use WSL 2 based engine" is checked. It was greyed out and the default for me.
![Alt text](images/docker_settings.png?raw=true "Use WSL 2 based engine")
Select "Apply and Restart".
Open a terminal with Admin privileges, and then type "wsl.exe -l -v" to check the version.
![Alt text](images/wsl_version.png?raw=true "WSL Version")
Install WSL extension for VS Code
Install Dev Containers extension for VS Code
Click on bottom left status showing VS Code context (local or remote)
Select "Connect to WSL". The bottom left status now shows "WSL: Ubuntu"
![Alt text](images/vscode_wsl_ubuntu.png?raw=true "VSCode WSL Ubuntu")
Type "WSL" into the terminal
Type "code .". This should open a new VS Code window.
![Alt text](images/code_..png?raw=true "Open a new VS Code window")
![Alt text](images/new_window.png?raw=true "New window")
Extra images
![Alt text](images/ubuntu_terminal.png?raw=true "Ubuntu terminal")
Using this tutorial: https://youtu.be/pTFZFxd4hOI
![Alt text](images/build_and_docker_images.png?raw=true "Build and docker images")
![Alt text](images/running_hello_docker.png?raw=true "Testing with a hello docker file")