Run this model with HF Jobs
Run HiTZ/gpt2-eus-euscrawl 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/HiTZ/gpt2-eus-euscrawl. 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/HiTZ/gpt2-eus-euscrawl 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/HiTZ/gpt2-eus-euscrawl. 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/HiTZ/gpt2-eus-euscrawl. 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 HiTZ/gpt2-eus-euscrawl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HiTZ/gpt2-eus-euscrawl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HiTZ/gpt2-eus-euscrawl")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HiTZ/gpt2-eus-euscrawl") model = AutoModelForCausalLM.from_pretrained("HiTZ/gpt2-eus-euscrawl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HiTZ/gpt2-eus-euscrawl with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HiTZ/gpt2-eus-euscrawl" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HiTZ/gpt2-eus-euscrawl", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/HiTZ/gpt2-eus-euscrawl
- SGLang
How to use HiTZ/gpt2-eus-euscrawl 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 "HiTZ/gpt2-eus-euscrawl" \ --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": "HiTZ/gpt2-eus-euscrawl", "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 "HiTZ/gpt2-eus-euscrawl" \ --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": "HiTZ/gpt2-eus-euscrawl", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use HiTZ/gpt2-eus-euscrawl with Docker Model Runner:
docker model run hf.co/HiTZ/gpt2-eus-euscrawl
Commit History
-
Training in progress, step 199000
2639f32 -
Training in progress, step 198500
5502246 -
Training in progress, step 198000
747ef3f -
Training in progress, step 197500
7fb53fd -
Training in progress, step 197000
f1bd24b -
Training in progress, step 196500
3a0fe64 -
Training in progress, step 196000
e44bad7 -
Training in progress, step 195500
3c6be96 -
Training in progress, step 195000
8c39aac -
Training in progress, step 194500
2bd294a -
Training in progress, step 194000
ec21ce2 -
Training in progress, step 193500
48f37cf -
Training in progress, step 193000
94e246b -
Training in progress, step 192500
38a04e1 -
Training in progress, step 192000
8aa4612 -
Training in progress, step 191500
4145d31 -
Training in progress, step 191000
bb58d48 -
Training in progress, step 190500
c85f929 -
Training in progress, step 190000
197470f
-
Training in progress, step 189500
e9bb46e -
Training in progress, step 189000
57b9a28 -
Training in progress, step 188500
148494a -
Training in progress, step 188000
f43fc6b -
Training in progress, step 187500
f60b1c7 -
Training in progress, step 187000
6399db1 -
Training in progress, step 186500
0c5c388 -
Training in progress, step 186000
e106c39 -
Training in progress, step 185500
8a2b3a4 -
Training in progress, step 185000
51814da -
Training in progress, step 184500
2cf63df -
Training in progress, step 184000
33c1811 -
Training in progress, step 183500
e96a7c2 -
Training in progress, step 183000
c7501aa -
Training in progress, step 182500
db9a1d0 -
Training in progress, step 182000
60b6af0 -
Training in progress, step 181500
8a25b20 -
Training in progress, step 181000
6313fb0 -
Training in progress, step 180500
dcc5373 -
Training in progress, step 180000
1afc9c4 -
Training in progress, step 179500
9105ff6 -
Training in progress, step 179000
16da38b -
Training in progress, step 178500
283e704 -
Training in progress, step 178000
661f01e -
Training in progress, step 177500
20ab919 -
Training in progress, step 177000
7979912 -
Training in progress, step 176500
58bd826 -
Training in progress, step 176000
e444dc5 -
Training in progress, step 175500
ffbb705 -
Training in progress, step 175000
8ebce0d -
Training in progress, step 174500
12c13a8