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