Instructions to use tool02/MyAwesomeModel-TestRepo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tool02/MyAwesomeModel-TestRepo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="tool02/MyAwesomeModel-TestRepo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("tool02/MyAwesomeModel-TestRepo") model = AutoModel.from_pretrained("tool02/MyAwesomeModel-TestRepo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download test_write_check_pr.txt from tool02/MyAwesomeModel-TestRepo: direct link, hf CLI and curl.
- Browser
- Download file 4 Bytes
-
https://huggingface.co/tool02/MyAwesomeModel-TestRepo/resolve/refs%2Fpr%2F1/test_write_check_pr.txt
- Command line
-
hf download hf://tool02/MyAwesomeModel-TestRepo@refs/pr/1/test_write_check_pr.txt
-
curl -L -o test_write_check_pr.txt https://huggingface.co/tool02/MyAwesomeModel-TestRepo/resolve/refs%2Fpr%2F1/test_write_check_pr.txt
4 Bytes
| test |