Instructions to use yuchenxie/ArlowGPT-Tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yuchenxie/ArlowGPT-Tokenizer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("yuchenxie/ArlowGPT-Tokenizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- yuchenxie/ArlowGPT-Tokenizer
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# **ArlowGPT Tokenizer**
|
| 10 |
+
|
| 11 |
+
### Overview
|
| 12 |
+
The **ArlowGPT Tokenizer** is a byte pair encoding (BPE) tokenizer developed from scratch, optimized for large-scale language modeling and text generation tasks. It features a vocabulary size of **131,072 tokens** and supports a maximum context length of **131,072 tokens**, making it suitable for handling extremely long documents and sequences.
|
| 13 |
+
|
| 14 |
+
### Key Features
|
| 15 |
+
- **Vocabulary Size**: 131,072 tokens
|
| 16 |
+
- **Maximum Context Length**: 131,072 tokens
|
| 17 |
+
- **Tokenizer Type**: Byte Pair Encoding (BPE)
|
| 18 |
+
- **Special Tokens**:
|
| 19 |
+
- `<pad>`: Padding token used for sequence alignment.
|
| 20 |
+
- `<mask>`: Special token for masked language modeling tasks.
|
| 21 |
+
- `<eos>`: End-of-sequence token.
|
| 22 |
+
- `<bos>`: Beginning-of-sequence token.
|
| 23 |
+
- **Trained From Scratch**: The tokenizer was trained from scratch using a large corpus of English and multilingual text.
|
| 24 |
+
|
| 25 |
+
### Training Data
|
| 26 |
+
The tokenizer was trained on **Wikipedia**, ensuring high coverage of general knowledge and domain-specific terms. Although primarily optimized for English, it also includes some multilingual capability due to the nature of the training dataset.
|
| 27 |
+
|
| 28 |
+
### Intended Use Cases
|
| 29 |
+
This tokenizer is designed for **general-purpose language modeling** and is suitable for tasks such as:
|
| 30 |
+
- Autoregressive text generation
|
| 31 |
+
- Long-context summarization
|
| 32 |
+
- Conversational AI
|
| 33 |
+
- Information retrieval over large documents
|
| 34 |
+
- General NLP tasks requiring long context processing
|
| 35 |
+
|
| 36 |
+
### Supported Languages
|
| 37 |
+
- **Primary Language**: English
|
| 38 |
+
- **Secondary Support**: Some multilingual content
|
| 39 |
+
|
| 40 |
+
### Performance & Benchmarks
|
| 41 |
+
No formal benchmarks have been conducted yet, but the tokenizer has been designed for efficiency in both tokenization speed and memory usage, with a focus on handling extremely long contexts up to **131,072 tokens**.
|
| 42 |
+
|
| 43 |
+
### Limitations
|
| 44 |
+
- **Multilingual Coverage**: While the tokenizer includes some multilingual tokens, it is primarily optimized for English text, and performance on non-English languages may vary.
|
| 45 |
+
- **No Benchmarked Metrics**: The tokenizer has not undergone formal benchmarking for speed or performance across various tasks.
|
| 46 |
+
|
| 47 |
+
### Citation
|
| 48 |
+
If you use the **ArlowGPT Tokenizer** in your work, please cite it as:
|
| 49 |
+
```
|
| 50 |
+
@misc{arlowgpt_tokenizer,
|
| 51 |
+
title={ArlowGPT Tokenizer},
|
| 52 |
+
author={yuchenxie},
|
| 53 |
+
year={2025},
|
| 54 |
+
howpublished={\url{https://huggingface.co/yuchenxie/ArlowGPT-Tokenizer}}
|
| 55 |
+
}
|
| 56 |
+
```
|