Back to all models
text-generation mask_token:
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚡️ Upgrade your account to access the Inference API

							$
							curl -X POST \
-H "Authorization: Bearer YOUR_ORG_OR_USER_API_TOKEN" \
-H "Content-Type: application/json" \
-d '"json encoded string"' \
https://api-inference.huggingface.co/models/lvwerra/gpt2-medium-taboo
Share Copied link to clipboard

Monthly model downloads

lvwerra/gpt2-medium-taboo lvwerra/gpt2-medium-taboo
39 downloads
last 30 days

pytorch

tf

Contributed by

lvwerra Leandro von Werra
6 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("lvwerra/gpt2-medium-taboo") model = AutoModelWithLMHead.from_pretrained("lvwerra/gpt2-medium-taboo")

GPT-2 (medium) Taboo

What is it?

A fine-tuned GPT-2 version for Taboo cards generation.

Training setting

The model was trained on ~900 Taboo cards in the following format for 100 epochs:

Describe the word Glitch without using the words Problem, Unexpected, Technology, Minor, Outage.