Instructions to use HackAI-2025/aragpt2-base-dpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HackAI-2025/aragpt2-base-dpo with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HackAI-2025/aragpt2-base-dpo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from HackAI-2025/aragpt2-base-dpo: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/HackAI-2025/aragpt2-base-dpo/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://HackAI-2025/aragpt2-base-dpo/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/HackAI-2025/aragpt2-base-dpo/resolve/main/special_tokens_map.json
587 Bytes
| { | |
| "bos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |