Run this model with HF Jobs
Run arithmetic-circuit-overloading/gpt2-64D-1L-2H 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 and TRL to fine-tune https://huggingface.co/arithmetic-circuit-overloading/gpt2-64D-1L-2H. 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/arithmetic-circuit-overloading/gpt2-64D-1L-2H 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.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/arithmetic-circuit-overloading/gpt2-64D-1L-2H. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/arithmetic-circuit-overloading/gpt2-64D-1L-2H. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use arithmetic-circuit-overloading/gpt2-64D-1L-2H with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arithmetic-circuit-overloading/gpt2-64D-1L-2H with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="arithmetic-circuit-overloading/gpt2-64D-1L-2H")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("arithmetic-circuit-overloading/gpt2-64D-1L-2H") model = AutoModelForCausalLM.from_pretrained("arithmetic-circuit-overloading/gpt2-64D-1L-2H", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use arithmetic-circuit-overloading/gpt2-64D-1L-2H with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "arithmetic-circuit-overloading/gpt2-64D-1L-2H" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arithmetic-circuit-overloading/gpt2-64D-1L-2H", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/arithmetic-circuit-overloading/gpt2-64D-1L-2H
- SGLang
How to use arithmetic-circuit-overloading/gpt2-64D-1L-2H with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "arithmetic-circuit-overloading/gpt2-64D-1L-2H" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arithmetic-circuit-overloading/gpt2-64D-1L-2H", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "arithmetic-circuit-overloading/gpt2-64D-1L-2H" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arithmetic-circuit-overloading/gpt2-64D-1L-2H", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use arithmetic-circuit-overloading/gpt2-64D-1L-2H with Docker Model Runner:
docker model run hf.co/arithmetic-circuit-overloading/gpt2-64D-1L-2H
Commit History
-
End of training
Verified signaturef2713ed -
Training in progress, epoch 20
Verified signature8f2b14f -
Training in progress, epoch 19
Verified signature93397c8 -
Training in progress, epoch 18
Verified signature98139c2 -
Training in progress, epoch 17
Verified signature3eafc7c -
Training in progress, epoch 16
Verified signature8b8b574 -
Training in progress, epoch 15
Verified signature628d223 -
Training in progress, epoch 14
Verified signature50f73ed -
Training in progress, epoch 13
Verified signature93ddd7e -
Training in progress, epoch 12
Verified signaturee4d40bc -
Training in progress, epoch 11
Verified signaturec292774 -
Training in progress, epoch 10
Verified signaturefdb1685 -
Training in progress, epoch 9
Verified signature4096996 -
Training in progress, epoch 8
Verified signaturedba7202 -
Training in progress, epoch 7
Verified signature62a45ee -
Training in progress, epoch 6
Verified signature0199f01 -
Training in progress, epoch 5
Verified signaturea0bf74f -
Training in progress, epoch 4
Verified signatureb22cac4 -
Training in progress, epoch 3
Verified signature13461a8 -
Training in progress, epoch 2
Verified signature7b59e0f -
Training in progress, epoch 1
Verified signature6789357 -
Training in progress, epoch 4
Verified signature1950e71 -
Training in progress, epoch 3
Verified signaturef98d02e -
Training in progress, epoch 2
Verified signature7003bed -
Training in progress, epoch 1
Verified signature6e4c8d7
-
End of training
Verified signature8403910 -
Training in progress, epoch 10
Verified signaturee3273a6 -
Training in progress, epoch 9
Verified signature1006fcb -
Training in progress, epoch 8
Verified signatureeb3796b -
Training in progress, epoch 7
Verified signature21ed20b -
Training in progress, epoch 6
Verified signature592b718 -
Training in progress, epoch 5
Verified signature40b9a00 -
Training in progress, epoch 4
Verified signature23396e2 -
Training in progress, epoch 3
Verified signaturec3aa373 -
Training in progress, epoch 2
Verified signature981fba7 -
Training in progress, epoch 1
Verified signature17ee4d2 -
Training in progress, epoch 2
Verified signature8dd2d0e -
Training in progress, epoch 1
Verified signature698a1e4 -
initial commit
Verified signaturec181e79