https://github.com/hendrikstrobelt/sentimenter_minimal_hai
Minimal starting point for rapid prototyping interactive Human-AI tools
https://github.com/hendrikstrobelt/sentimenter_minimal_hai
ai human-computer-interaction xai
Last synced: 4 months ago
JSON representation
Minimal starting point for rapid prototyping interactive Human-AI tools
- Host: GitHub
- URL: https://github.com/hendrikstrobelt/sentimenter_minimal_hai
- Owner: HendrikStrobelt
- License: apache-2.0
- Created: 2020-01-19T19:00:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-11T12:50:35.000Z (over 3 years ago)
- Last Synced: 2025-06-16T01:45:46.436Z (4 months ago)
- Topics: ai, human-computer-interaction, xai
- Language: HTML
- Size: 111 KB
- Stars: 33
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A minimal starting point for rapid prototyping interactive Human-AI tools
Just a quick connection of the huggingface pipeline for sentiment analysis (see [here](https://github.com/huggingface/transformers#quick-tour-of-pipelines)) with a
small visual interface made with [D3js](https://d3js.org/).by [Hendrik Strobelt](http://hendrik.strobelt.com) ([MIT-IBM Watson AI Lab](https://mitibmwatsonailab.mit.edu/))
## Perequisits
Create new Conda environment:
```
conda create -n hugging python=3.6
conda activate hugging
```install flask:
```
conda install -c anaconda flask
```install huggingface (and pytorch):
```
conda install pytorch -c pytorch
pip install transformers
```## Run
```
conda activate hugging
python server.py
```visit [http://localhost:8888](http://localhost:8888)