Text Generation
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Instructions to use payelb/CTRATE_attack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use payelb/CTRATE_attack with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="payelb/CTRATE_attack")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("payelb/CTRATE_attack") model = AutoModelForCausalLM.from_pretrained("payelb/CTRATE_attack", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use payelb/CTRATE_attack with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "payelb/CTRATE_attack" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "payelb/CTRATE_attack", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/payelb/CTRATE_attack
- SGLang
How to use payelb/CTRATE_attack 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 "payelb/CTRATE_attack" \ --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": "payelb/CTRATE_attack", "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 "payelb/CTRATE_attack" \ --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": "payelb/CTRATE_attack", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use payelb/CTRATE_attack with Docker Model Runner:
docker model run hf.co/payelb/CTRATE_attack
Commit History
-
Training in progress, step 90440
Verified signature87d1159 -
Training in progress, step 90000
Verified signature8a52cdd -
Training in progress, step 87500
Verified signature5cf23d6 -
Training in progress, step 85000
Verified signature79b2130 -
Training in progress, step 82500
Verified signature6972143 -
Training in progress, step 80000
Verified signature4922dd3 -
Training in progress, step 77500
Verified signature9f6f583 -
Training in progress, step 75000
Verified signature9bdafb1 -
Training in progress, step 72500
Verified signature780262b -
Training in progress, step 70000
Verified signature799b695 -
Training in progress, step 67500
Verified signature0447cbf -
Training in progress, step 65000
Verified signature6270556 -
Training in progress, step 62500
Verified signature41cf45f -
Training in progress, step 60000
Verified signaturebb86a14 -
Training in progress, step 57500
Verified signatureb1088bd -
Training in progress, step 55000
Verified signature0b119e3 -
Training in progress, step 52500
Verified signature4e013b2 -
Training in progress, step 50000
Verified signature9b6aeeb -
Training in progress, step 47500
Verified signature9ecac46 -
Training in progress, step 45000
Verified signature149ba3c -
Training in progress, step 42500
Verified signatureb48ad94 -
Training in progress, step 40000
Verified signaturec45640a -
Training in progress, step 37500
Verified signature76c4458 -
Training in progress, step 35000
Verified signature36030d4 -
Training in progress, step 32500
Verified signatureee7ebf3 -
Training in progress, step 30000
Verified signature44bf2fb -
Training in progress, step 27500
Verified signatureb784e5e -
Training in progress, step 25000
Verified signaturedca73dc -
Training in progress, step 22500
Verified signature88423d1 -
Training in progress, step 20000
Verified signatureb4eeef9 -
Training in progress, step 17500
Verified signature75e67aa -
Training in progress, step 15000
Verified signature559a304 -
Training in progress, step 12500
Verified signature99eac7b -
Training in progress, step 10000
Verified signature1278555 -
Training in progress, step 7500
Verified signature046abd0 -
Training in progress, step 5000
Verified signaturef4acb92 -
Training in progress, step 2500
Verified signatureafad5ea -
Training in progress, step 2500
Verified signaturea24c9ff -
Training in progress, step 90440
Verified signature1f8b9d3 -
Training in progress, step 90000
Verified signature6816f34 -
Training in progress, step 87500
Verified signaturecc84211 -
Training in progress, step 85000
Verified signature3f0239f -
Training in progress, step 82500
Verified signaturee1706de -
Training in progress, step 80000
Verified signature5201d78 -
Training in progress, step 77500
Verified signature2b1dfc4 -
Training in progress, step 75000
Verified signaturefe5cf28 -
Training in progress, step 72500
Verified signature8534b1e -
Training in progress, step 70000
Verified signature11d825a -
Training in progress, step 67500
Verified signature988cf67 -
Training in progress, step 65000
Verified signature7227b5f