Run this model with HF Jobs
Run ComCom/gpt2-medium on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ComCom/gpt2-medium. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ComCom/gpt2-medium on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ComCom/gpt2-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ComCom/gpt2-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ComCom/gpt2-medium")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ComCom/gpt2-medium") model = AutoModel.from_pretrained("ComCom/gpt2-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from ComCom/gpt2-medium: direct link, hf CLI and curl.
- Browser
- Download file 1.44 GB
-
https://huggingface.co/ComCom/gpt2-medium/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://ComCom/gpt2-medium/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ComCom/gpt2-medium/resolve/main/pytorch_model.bin
1.44 GB
- Xet hash:
- 5063b4e9b241709c87f01243b33689254e2ac974e030bc09d3a2ef3c5d882de8
- Size of remote file:
- 1.44 GB
- SHA256:
- 09fa59f5990d6767ee006f73f642a90e76b7112e62e39f0523f2db31cbcbadab
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.