Downloads · 30 days
267
2% of all-time downloads
RichardErkhov/GroNLP_-_gpt2-medium-italian-embeddings-gguf
GroNLP_-_gpt2-medium-italian-embeddings-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
267
2% of all-time downloads
All-time downloads
11.6K
Public
Repo size
4 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.7 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
gpt2-medium-italian-embeddings - GGUF
language: it tags:
Wietse de Vries • Malvina Nissim
This model is based on the medium OpenAI GPT-2 (gpt2-medium) model.
The Transformer layer weights in this model are identical to the original English, model but the lexical layer has been retrained for an Italian vocabulary.
For details, check out our paper on arXiv and the code on Github.
gpt2-small-dutch-embeddings: Small model size with only retrained lexical embeddings.gpt2-small-dutch: Small model size with retrained lexical embeddings and additional fine-tuning of the full model. (Recommended)gpt2-medium-dutch-embeddings: Medium model size with only retrained lexical embeddings.gpt2-small-italian-embeddings: Small model size with only retrained lexical embeddings.gpt2-small-italian: Small model size with retrained lexical embeddings and additional fine-tuning of the full model. (Recommended)gpt2-medium-italian-embeddings: Medium model size with only retrained lexical embeddings.from transformers import pipeline
pipe = pipeline("text-generation", model="GroNLP/gpt2-medium-italian-embeddings")
from transformers import AutoTokenizer, AutoModel, TFAutoModel
tokenizer = AutoTokenizer.from_pretrained("GroNLP/gpt2-medium-italian-embeddings")
model = AutoModel.from_pretrained("GroNLP/gpt2-medium-italian-embeddings") # PyTorch
model = TFAutoModel.from_pretrained("GroNLP/gpt2-medium-italian-embeddings") # Tensorflow
@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}
}