Instructions to use Tevatron/AgentIR-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tevatron/AgentIR-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Tevatron/AgentIR-4B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Tevatron/AgentIR-4B") model = AutoModel.from_pretrained("Tevatron/AgentIR-4B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from Tevatron/AgentIR-4B: direct link, hf CLI and curl.
- Browser
- Download file 2.78 MB
-
https://huggingface.co/Tevatron/AgentIR-4B/resolve/main/vocab.json
- Command line
-
hf download hf://Tevatron/AgentIR-4B/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Tevatron/AgentIR-4B/resolve/main/vocab.json
2.78 MB
File too large to display, you can check the raw version instead.