Instructions to use patrickvonplaten/rag-tiny-random with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickvonplaten/rag-tiny-random with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, RagSequenceForGeneration tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/rag-tiny-random") model = RagSequenceForGeneration.from_pretrained("patrickvonplaten/rag-tiny-random", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from patrickvonplaten/rag-tiny-random: direct link, hf CLI and curl.
- Browser
- Download file 5.59 MB
-
https://huggingface.co/patrickvonplaten/rag-tiny-random/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://patrickvonplaten/rag-tiny-random/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/patrickvonplaten/rag-tiny-random/resolve/main/pytorch_model.bin
5.59 MB
- Xet hash:
- 2e55aa51d82d7af3f658cd1c09d82b57640f18439bf2646663b9711f5ce67789
- Size of remote file:
- 5.59 MB
- SHA256:
- 9e74963038c838d8c4282a99feacd0206494e000effd53881acc7bfa43bfc17c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.