File size: 902 Bytes
cb12223
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
language:
- en
tags:
- generation
- ctranslate2
license: mit
base_model: openai/gpt2
base_model_relation: quantized
---
# gpt2-ct2

This is a version of [`openai-community/gpt2`](https://huggingface.co/openai-community/gpt2)
converted for use with [CTranslate2](https://github.com/OpenNMT/CTranslate2).

The conversion was performed using the following command:

```
ct2-transformers-converter --model openai-community/gpt2 --output_dir gpt2-ct2 \
    --copy_files generation_config.json tokenizer_config.json tokenizer.json vocab.json
```

## License
This adaptation is based on [`openai-community/gpt2`](https://huggingface.co/openai-community/gpt2),
originally provided under the MIT License. 
Modifications were made for compatibility with CTranslate2. 
Despite these modifications, this adapted version continues to be distributed under the MIT License,
honoring the original licensing terms.