Text Generation
Transformers
Safetensors
PEFT
Trained with AutoTrain
text-generation-inference
conversational
Instructions to use AgentGYM-exp/syndra-ax with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AgentGYM-exp/syndra-ax with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AgentGYM-exp/syndra-ax") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AgentGYM-exp/syndra-ax", dtype="auto") - PEFT
How to use AgentGYM-exp/syndra-ax with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AgentGYM-exp/syndra-ax with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AgentGYM-exp/syndra-ax" # 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-ax", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AgentGYM-exp/syndra-ax
- SGLang
How to use AgentGYM-exp/syndra-ax 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-ax" \ --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-ax", "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-ax" \ --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-ax", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use AgentGYM-exp/syndra-ax with Docker Model Runner:
docker model run hf.co/AgentGYM-exp/syndra-ax
Upload folder using huggingface_hub
Browse files- README.md +1 -1
- adapter_config.json +6 -6
- adapter_model.safetensors +2 -2
- training_args.bin +2 -2
- training_params.json +3 -3
README.md
CHANGED
|
@@ -5,7 +5,7 @@ tags:
|
|
| 5 |
- text-generation
|
| 6 |
- peft
|
| 7 |
library_name: transformers
|
| 8 |
-
base_model:
|
| 9 |
widget:
|
| 10 |
- messages:
|
| 11 |
- role: user
|
|
|
|
| 5 |
- text-generation
|
| 6 |
- peft
|
| 7 |
library_name: transformers
|
| 8 |
+
base_model: Marco0/Affine-QQ
|
| 9 |
widget:
|
| 10 |
- messages:
|
| 11 |
- role: user
|
adapter_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path": "
|
| 5 |
"bias": "none",
|
| 6 |
"eva_config": null,
|
| 7 |
"exclude_modules": null,
|
|
@@ -23,13 +23,13 @@
|
|
| 23 |
"rank_pattern": {},
|
| 24 |
"revision": null,
|
| 25 |
"target_modules": [
|
| 26 |
-
"k_proj",
|
| 27 |
-
"down_proj",
|
| 28 |
-
"v_proj",
|
| 29 |
"q_proj",
|
|
|
|
| 30 |
"up_proj",
|
| 31 |
-
"
|
| 32 |
-
"
|
|
|
|
|
|
|
| 33 |
],
|
| 34 |
"task_type": "CAUSAL_LM",
|
| 35 |
"use_dora": false,
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Marco0/Affine-QQ",
|
| 5 |
"bias": "none",
|
| 6 |
"eva_config": null,
|
| 7 |
"exclude_modules": null,
|
|
|
|
| 23 |
"rank_pattern": {},
|
| 24 |
"revision": null,
|
| 25 |
"target_modules": [
|
|
|
|
|
|
|
|
|
|
| 26 |
"q_proj",
|
| 27 |
+
"gate_proj",
|
| 28 |
"up_proj",
|
| 29 |
+
"k_proj",
|
| 30 |
+
"v_proj",
|
| 31 |
+
"down_proj",
|
| 32 |
+
"o_proj"
|
| 33 |
],
|
| 34 |
"task_type": "CAUSAL_LM",
|
| 35 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f5376bfdb6020e444f48fa08149162b89b96bb0b8e9e6c1f064ca113272c664
|
| 3 |
+
size 1685278680
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0839725bae1c909dc2a706afd769ef80e86d5f1cf32074ad7980d82f0b6b7343
|
| 3 |
+
size 5688
|
training_params.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"model": "
|
| 3 |
"project_name": "syndra-ax",
|
| 4 |
"data_path": "victormaricato/syndra-autotrain-dataset",
|
| 5 |
"train_split": "train",
|
|
@@ -43,7 +43,7 @@
|
|
| 43 |
"text_column": "output",
|
| 44 |
"rejected_text_column": null,
|
| 45 |
"push_to_hub": true,
|
| 46 |
-
"username": "
|
| 47 |
"unsloth": false,
|
| 48 |
-
"distributed_backend":
|
| 49 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model": "Marco0/Affine-QQ",
|
| 3 |
"project_name": "syndra-ax",
|
| 4 |
"data_path": "victormaricato/syndra-autotrain-dataset",
|
| 5 |
"train_split": "train",
|
|
|
|
| 43 |
"text_column": "output",
|
| 44 |
"rejected_text_column": null,
|
| 45 |
"push_to_hub": true,
|
| 46 |
+
"username": "AgentGYM-exp",
|
| 47 |
"unsloth": false,
|
| 48 |
+
"distributed_backend": null
|
| 49 |
}
|