Text Generation
Transformers
Safetensors
PEFT
Trained with AutoTrain
text-generation-inference
conversational
Instructions to use AgentGYM-exp/syndra-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AgentGYM-exp/syndra-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AgentGYM-exp/syndra-small") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AgentGYM-exp/syndra-small", device_map="auto") - PEFT
How to use AgentGYM-exp/syndra-small with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AgentGYM-exp/syndra-small with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AgentGYM-exp/syndra-small" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AgentGYM-exp/syndra-small", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AgentGYM-exp/syndra-small
- SGLang
How to use AgentGYM-exp/syndra-small 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 "AgentGYM-exp/syndra-small" \ --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": "AgentGYM-exp/syndra-small", "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 "AgentGYM-exp/syndra-small" \ --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": "AgentGYM-exp/syndra-small", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use AgentGYM-exp/syndra-small with Docker Model Runner:
docker model run hf.co/AgentGYM-exp/syndra-small
Commit History
-
Upload folder using huggingface_hub
Verified signaturead4cb4f -
Upload folder using huggingface_hub
Verified signature26b4945 -
Upload folder using huggingface_hub
Verified signature02f1348 -
Upload folder using huggingface_hub
Verified signaturedb945bb -
Upload folder using huggingface_hub
Verified signature97a6c6a -
Upload folder using huggingface_hub
Verified signature2bc21cf -
Upload folder using huggingface_hub
Verified signaturec970b07 -
Upload folder using huggingface_hub
Verified signature019ce89
-
Upload folder using huggingface_hub
Verified signaturea8db519
-
Upload folder using huggingface_hub
Verified signature374dbf1 -
Upload folder using huggingface_hub
Verified signaturec2c7054
-
initial commit
Verified signatureb034edc