Download .env.example from RobinWu/nerserver: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/RobinWu/nerserver/resolve/main/.env.example
- Command line
-
hf download hf://spaces/RobinWu/nerserver/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/RobinWu/nerserver/resolve/main/.env.example
355 Bytes
| # 英文 / 阿拉伯文 / 混合文本模型(GLiNER 零样本,~1GB) | |
| EN_MODEL_NAME=urchade/gliner_multi-v2.1 | |
| # 中文专用模型(BERT NER,~400MB,快速) | |
| ZH_MODEL_NAME=shibing624/bert4ner-base-chinese | |
| MODEL_CACHE_DIR=./model_cache | |
| HOST=0.0.0.0 | |
| PORT=4000 | |
| # 国内环境取消注释;HF Spaces 上留空 | |
| # HF_ENDPOINT=https://hf-mirror.com | |