Instructions to use Dong1136/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dong1136/test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Dong1136/test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download Dockerfile from Dong1136/test: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/Dong1136/test/resolve/main/Dockerfile
- Command line
-
hf download hf://Dong1136/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/Dong1136/test/resolve/main/Dockerfile
435 Bytes
| FROM nginx:latest | |
| EXPOSE 80 | |
| WORKDIR /app | |
| USER root | |
| COPY nginx.conf /etc/nginx/nginx.conf | |
| COPY config.json ./ | |
| COPY entrypoint.sh ./ | |
| RUN apt-get update && apt-get install -y wget unzip iproute2 systemctl && \ | |
| wget -O temp.zip https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip && \ | |
| unzip temp.zip xray && \ | |
| rm -f temp.zip && \ | |
| chmod -v 755 xray entrypoint.sh | |
| ENTRYPOINT [ "./entrypoint.sh" ] | |