Spaces:
Running
Running
Download Makefile from asriel14/article_classifier: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/spaces/asriel14/article_classifier/resolve/main/Makefile
- Command line
-
hf download hf://spaces/asriel14/article_classifier/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/asriel14/article_classifier/resolve/main/Makefile
323 Bytes
| install: | |
| pip install -r requirements.txt | |
| train: | |
| python src/train.py --data-path data/arxiv_data.csv --label-col tag --text-cols title abstract | |
| app: | |
| MODEL_DIR=artifacts/article_topic_model streamlit run app.py --server.port 8501 | |
| api: | |
| MODEL_DIR=artifacts/article_topic_model uvicorn api:app --host 0.0.0.0 --port 8000 | |