Text Generation
Transformers
Safetensors
English
gpt2
ai-assistant
a3on
kaiiddo
text-generation-inference
Instructions to use kaiiddo/A3ON with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kaiiddo/A3ON with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kaiiddo/A3ON")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kaiiddo/A3ON", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kaiiddo/A3ON with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kaiiddo/A3ON" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kaiiddo/A3ON", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/kaiiddo/A3ON
- SGLang
How to use kaiiddo/A3ON 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 "kaiiddo/A3ON" \ --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": "kaiiddo/A3ON", "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 "kaiiddo/A3ON" \ --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": "kaiiddo/A3ON", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use kaiiddo/A3ON with Docker Model Runner:
docker model run hf.co/kaiiddo/A3ON
Commit History
-
Update README.md
Verified signaturec62fe37 -
Update README.md
Verified signature1214c91 -
Update README.md
Verified signature3d5c994 -
Update README.md
Verified signature93d6c95 -
Update README.md
Verified signature7578e61 -
Delete special_tokens_map.json
Verified signatureab9942f -
Delete added_tokens.json
Verified signature8e5d89d -
Upload A3ON model files (#5)
Verified signature- Upload A3ON model files (da5b90cf1c1c419121aa817e516b96a892267134) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>d91faa8 -
Upload A3ON model files (#4)
Verified signature- Upload A3ON model files (0d8cb3c939621be334c96d3ad07896197e8bf458) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>bbcd7b4 -
Upload A3ON model files (#3)
Verified signature- Upload A3ON model files (10eff67a9922469b9997010a94e68f81a3299732) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>2962b4d -
Upload A3ON model files (#2)
Verified signature- Upload A3ON model files (6237ce72edc30ad0e962c784d16e9c1924a91da2) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>f725bec -
Upload A3ON model files (#1)
Verified signature- Upload A3ON model files (2a95a8e3c3341cb9f7e3438553033f40e621107e) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>6152fc2 -
Upload A3ON model files (#6)
Verified signature- Upload A3ON model files (e611535a8aa5c358ba0a47358da95fbc855b050b) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>85fb9f9 -
Upload A3ON model files (#7)
Verified signature- Upload A3ON model files (430ebe86449bf7d79cf96cd5315be9f3b55e23f9) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>4591473 -
Upload A3ON model files (#8)
Verified signature- Upload A3ON model files (bdda316b8db96eb515bc43f29b0eaa5d1b468faa) Co-authored-by: Aryan Rathod <AryanRathod3097@users.noreply.huggingface.co>5f41293 -
initial commit
Verified signaturedc58f8f