Download setup.py from harsh580g/statute-classifier: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/harsh580g/statute-classifier/resolve/main/setup.py
- Command line
-
hf download hf://harsh580g/statute-classifier/setup.py
-
curl -L -o setup.py https://huggingface.co/harsh580g/statute-classifier/resolve/main/setup.py
363 Bytes
| from setuptools import setup, find_packages | |
| setup( | |
| name="legal-inference", | |
| version="0.1.0", | |
| description="Inference wrapper for fine-tuned BERT legal section model", | |
| packages=find_packages(), | |
| install_requires=[ | |
| "torch", | |
| "transformers", | |
| "faiss-cpu", # if you want faiss retrieval | |
| ], | |
| python_requires=">=3.7", | |
| ) | |