Instructions to use ZhankuiHe/switch4gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZhankuiHe/switch4gen with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import Switch4GenModule model = Switch4GenModule.from_pretrained("ZhankuiHe/switch4gen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from ZhankuiHe/switch4gen: direct link, hf CLI and curl.
- Browser
- Download file 271 MB
-
https://huggingface.co/ZhankuiHe/switch4gen/resolve/6c559c27b3586f2cd73a3f5547d8d9b0d9a67259/pytorch_model.bin
- Command line
-
hf download hf://ZhankuiHe/switch4gen@6c559c27b3586f2cd73a3f5547d8d9b0d9a67259/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ZhankuiHe/switch4gen/resolve/6c559c27b3586f2cd73a3f5547d8d9b0d9a67259/pytorch_model.bin
271 MB
- Xet hash:
- c63f34d7101ee2237c0b9db228f2ea85eab11620e53bc2cde0faf8239cf20f64
- Size of remote file:
- 271 MB
- SHA256:
- 1e123be660d6693397da6f86b8e14c1f026e2ad40a9ece9add9f0f7aad04275c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.