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
								$ curl -X POST \
https://api-inference.huggingface.co/models/congcongwang/gpt2_medium_fine_tuned_coder
Share Copied link to clipboard

Monthly model downloads

congcongwang/gpt2_medium_fine_tuned_coder congcongwang/gpt2_medium_fine_tuned_coder
26 downloads
last 30 days

pytorch

tf

Contributed by

congcongwang a38363163
2 models

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

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("congcongwang/gpt2_medium_fine_tuned_coder") model = AutoModelWithLMHead.from_pretrained("congcongwang/gpt2_medium_fine_tuned_coder")