Instructions to use cug/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cug/test with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" 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("question-answering", model="cug/test")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("cug/test") model = AutoModelForQuestionAnswering.from_pretrained("cug/test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tf_model.h5 from cug/test: direct link, hf CLI and curl.
- Browser
- Download file 431 MB
-
https://huggingface.co/cug/test/resolve/main/tf_model.h5
- Command line
-
hf download hf://cug/test/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/cug/test/resolve/main/tf_model.h5
431 MB
- Xet hash:
- 8b06d51d69fc3981577878ae589d51d5fdfab530614f6af42e9691aa8824fe84
- Size of remote file:
- 431 MB
- SHA256:
- 7a650bd11d70155d33b071d6dd25f300fca2941ad4061d62d167eb25fe4863b3
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.