Instructions to use ZySec-AI/phi4-document-writer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZySec-AI/phi4-document-writer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ZySec-AI/phi4-document-writer", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ZySec-AI/phi4-document-writer", trust_remote_code=True) model = AutoModel.from_pretrained("ZySec-AI/phi4-document-writer", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download tokenizer.json from ZySec-AI/phi4-document-writer: direct link, hf CLI and curl.
- Browser
- Download file 15.5 MB
-
https://huggingface.co/ZySec-AI/phi4-document-writer/resolve/main/tokenizer.json
- Command line
-
hf download hf://ZySec-AI/phi4-document-writer/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ZySec-AI/phi4-document-writer/resolve/main/tokenizer.json
15.5 MB
- Xet hash:
- 41f3fdd273466a9c5c65e8f6edc717bb68a94a1eaec7c4e088735b0a4c1c0436
- Size of remote file:
- 15.5 MB
- SHA256:
- 37b10016a39382ff2d24acc20a291ed83243a26c4549ab01f6240e72c6291d56
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.