CoolFace
Modelpublic

RichardErkhov/GroNLP_-_gpt2-small-italian-8bits

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes23downloads
Model Card

Quantization made by Richard Erkhov.

Github

Discord

Request more models

gpt2-small-italian - bnb 8bits

  • —Model creator: https://huggingface.co/GroNLP/
  • —Original model: https://huggingface.co/GroNLP/gpt2-small-italian/

Original model description: --- language: it tags:

  • —adaption
  • —recycled
  • —gpt2-small pipeline_tag: text-generation ---

GPT-2 recycled for Italian (small)

Wietse de Vries • Malvina Nissim

Model description

This model is based on the small OpenAI GPT-2 (`gpt2`) model.

For details, check out our paper on arXiv and the code on Github.

Related models

Dutch

Italian

How to use

python
from transformers import pipeline

pipe = pipeline("text-generation", model="GroNLP/gpt2-small-italian")
python
from transformers import AutoTokenizer, AutoModel, TFAutoModel

tokenizer = AutoTokenizer.from_pretrained("GroNLP/gpt2-small-italian")
model = AutoModel.from_pretrained("GroNLP/gpt2-small-italian")  # PyTorch
model = TFAutoModel.from_pretrained("GroNLP/gpt2-small-italian")  # Tensorflow

BibTeX entry

bibtex
@misc{devries2020good,
      title={As good as new. How to successfully recycle English GPT-2 to make models for other languages}, 
      author={Wietse de Vries and Malvina Nissim},
      year={2020},
      eprint={2012.05628},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}