Instructions to use Quivr/gpt-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Quivr/gpt-4 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Quivr/gpt-4", device_map="auto") - Transformers.js
How to use Quivr/gpt-4 with Transformers.js:
// ⚠️ Unknown pipeline tag
- Notebooks
- Google Colab
- Kaggle
Download vocab.json from Quivr/gpt-4: direct link, hf CLI and curl.
- Browser
- Download file 2.01 MB
-
https://huggingface.co/Quivr/gpt-4/resolve/main/vocab.json
- Command line
-
hf download hf://Quivr/gpt-4/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Quivr/gpt-4/resolve/main/vocab.json
2.01 MB
File too large to display, you can check the raw version instead.