Instructions to use dongxq/test_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dongxq/test_model with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="dongxq/test_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("dongxq/test_model") model = AutoModelForSeq2SeqLM.from_pretrained("dongxq/test_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from dongxq/test_model: direct link, hf CLI and curl.
- Browser
- Download file 1.05 GB
-
https://huggingface.co/dongxq/test_model/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://dongxq/test_model/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/dongxq/test_model/resolve/main/pytorch_model.bin
1.05 GB
- Xet hash:
- 618ecfd1e890d58c396638c9dac16958dc1852ace7a7717addc2330131439280
- Size of remote file:
- 1.05 GB
- SHA256:
- b07c5126ab9a6f6db17137eeea82628b6f8fd4a70f16c68e98b8906474077ef7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.