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 62500
Verified signatured18a6ca -
Training in progress, step 60000
Verified signaturea6ecf52 -
Training in progress, step 57500
Verified signatureb0984a7 -
Training in progress, step 55000
Verified signature13c4d55 -
Training in progress, step 52500
Verified signaturea9c862f -
Training in progress, step 50000
Verified signature7054cd1 -
Training in progress, step 47500
Verified signaturee23707b -
Training in progress, step 45000
Verified signature699dac9 -
Training in progress, step 42500
Verified signaturea15c28f -
Training in progress, step 40000
Verified signaturef938259 -
Training in progress, step 37500
Verified signature19fc3ca -
Training in progress, step 35000
Verified signatured0f2d4c -
Training in progress, step 32500
Verified signature5d9a1ce -
Training in progress, step 30000
Verified signaturec9a7e7d -
Training in progress, step 27500
Verified signature61c3e2f -
Training in progress, step 25000
Verified signaturea11ceb5 -
Training in progress, step 22500
Verified signature9ff7380 -
Training in progress, step 20000
Verified signature71b81af -
Training in progress, step 17500
Verified signaturec59359d -
Training in progress, step 15000
Verified signatureb25440f -
Training in progress, step 12500
Verified signature8ddc019 -
Training in progress, step 10000
Verified signature637f2e1 -
Training in progress, step 7500
Verified signature3c326e7 -
Training in progress, step 5000
Verified signature4a7f3a6 -
Training in progress, step 2500
Verified signature13910d9 -
initial commit
Verified signaturedb7f26b