Download builder/scripts/prepare_v1_processor.py from lothnic/themis-decision-mixture-v1: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/datasets/lothnic/themis-decision-mixture-v1/resolve/main/builder/scripts/prepare_v1_processor.py
- Command line
-
hf download hf://datasets/lothnic/themis-decision-mixture-v1/builder/scripts/prepare_v1_processor.py
-
curl -L -o prepare_v1_processor.py https://huggingface.co/datasets/lothnic/themis-decision-mixture-v1/resolve/main/builder/scripts/prepare_v1_processor.py
557 Bytes
| """Download only pinned tokenizer/image-processor configs; no model weights or video runtime.""" | |
| from pathlib import Path | |
| from transformers import AutoImageProcessor, AutoTokenizer | |
| ROOT = Path(__file__).resolve().parents[1] | |
| REV = "15852e8c16360a2fea060d615a32b45270f8a8fc" | |
| if __name__ == "__main__": | |
| path = ROOT / "data/raw/v1/processor" | |
| AutoImageProcessor.from_pretrained( | |
| "Qwen/Qwen3.5-2B", revision=REV, backend="pil" | |
| ).save_pretrained(path) | |
| AutoTokenizer.from_pretrained("Qwen/Qwen3.5-2B", revision=REV).save_pretrained(path) | |