Run this model with HF Jobs
Run ComCom/gpt2 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. 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 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 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ComCom/gpt2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ComCom/gpt2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ComCom/gpt2") model = AutoModel.from_pretrained("ComCom/gpt2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from ComCom/gpt2: direct link, hf CLI and curl.
- Browser
- Download file 510 MB
-
https://huggingface.co/ComCom/gpt2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://ComCom/gpt2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ComCom/gpt2/resolve/main/pytorch_model.bin
510 MB
- Xet hash:
- 8bb89ca32161ac0dc358630edc9cadadcf01bae1a64d8b8055972b6e0330565e
- Size of remote file:
- 510 MB
- SHA256:
- c54796ba60499259315ba7cd46fdd66d2dbcc98edbafb144a9d75e09653d5cf9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.