Instructions to use RaymondLi/gpt-4-tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RaymondLi/gpt-4-tokenizer with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RaymondLi/gpt-4-tokenizer", dtype="auto") - Transformers.js
How to use RaymondLi/gpt-4-tokenizer with Transformers.js:
// ⚠️ Unknown pipeline tag
- Notebooks
- Google Colab
- Kaggle