Text Generation
Transformers
Safetensors
PyTorch
qwen2
chat
code
math
Merge
conversational
text-generation-inference
Instructions to use Simonc-44/Cygnis-A3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Simonc-44/Cygnis-A3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Simonc-44/Cygnis-A3") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Simonc-44/Cygnis-A3") model = AutoModelForCausalLM.from_pretrained("Simonc-44/Cygnis-A3", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Simonc-44/Cygnis-A3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Simonc-44/Cygnis-A3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Simonc-44/Cygnis-A3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Simonc-44/Cygnis-A3
- SGLang
How to use Simonc-44/Cygnis-A3 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 "Simonc-44/Cygnis-A3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Simonc-44/Cygnis-A3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Simonc-44/Cygnis-A3" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Simonc-44/Cygnis-A3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Simonc-44/Cygnis-A3 with Docker Model Runner:
docker model run hf.co/Simonc-44/Cygnis-A3
Commit History
-
Update README.md
Verified signatured526128 -
Update README.md
Verified signature1f6c3f8 -
Delete model.safetensors.index.json
Verified signatureebb9820 -
Delete model-00001-of-00016.safetensors
Verified signature3934bb4 -
Delete model-00002-of-00016.safetensors
Verified signaturef32041a -
Delete model-00003-of-00016.safetensors
Verified signature7b7dfd8 -
Delete model-00004-of-00016.safetensors
Verified signature9cb52ce -
Delete model-00005-of-00016.safetensors
Verified signature0c51dba -
Delete model-00006-of-00016.safetensors
Verified signaturefb428a3 -
Delete model-00007-of-00016.safetensors
Verified signature21e8369 -
Delete model-00008-of-00016.safetensors
Verified signature8ccb7bf -
Delete model-00009-of-00016.safetensors
Verified signatureba41c36 -
Delete model-00010-of-00016.safetensors
Verified signature5bbfe4a -
Delete model-00011-of-00016.safetensors
Verified signaturea3eb596 -
Delete model-00012-of-00016.safetensors
Verified signature4123d13 -
Delete model-00013-of-00016.safetensors
Verified signatureac71cd7 -
Delete model-00014-of-00016.safetensors
Verified signature2c94c2d -
Delete model-00015-of-00016.safetensors
Verified signaturec168328 -
Delete model-00016-of-00016.safetensors
Verified signature2977da9 -
Delete mergekit_config.yml
Verified signatureb85c7ac -
Cygnis-A3-V2-Light: PyTorch linear merge (Instruct x Coder x Math)
Verified signature1755f43 -
Upload folder using huggingface_hub
Verified signature5a94ada -
Upload folder using huggingface_hub
Verified signature0c52446 -
Upload folder using huggingface_hub
Verified signature03c0b67 -
Upload folder using huggingface_hub
Verified signature67bef45 -
Upload folder using huggingface_hub
Verified signature3bb93d2 -
Upload folder using huggingface_hub
Verified signature0acf094 -
Upload folder using huggingface_hub
Verified signaturea66e26d -
Upload folder using huggingface_hub
Verified signature64e7357 -
initial commit
Verified signatureb4b1b49