Text Generation
Transformers
Safetensors
English
Korean
qwen2
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use skt/A.X-4.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skt/A.X-4.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="skt/A.X-4.0") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("skt/A.X-4.0") model = AutoModelForCausalLM.from_pretrained("skt/A.X-4.0", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use skt/A.X-4.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "skt/A.X-4.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "skt/A.X-4.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/skt/A.X-4.0
- SGLang
How to use skt/A.X-4.0 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 "skt/A.X-4.0" \ --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": "skt/A.X-4.0", "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 "skt/A.X-4.0" \ --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": "skt/A.X-4.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use skt/A.X-4.0 with Docker Model Runner:
docker model run hf.co/skt/A.X-4.0
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -67,13 +67,27 @@ SK Telecom released **A.X 4.0** (pronounced "A dot X"), a large language model (
|
|
| 67 |
</tr></thead>
|
| 68 |
<tbody>
|
| 69 |
<tr>
|
| 70 |
-
<td rowspan="
|
| 71 |
<td>KMMLU</td>
|
| 72 |
<td>78.32</td>
|
| 73 |
<td>73.64</td>
|
| 74 |
<td>66.44</td>
|
| 75 |
<td>72.51</td>
|
| 76 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
<tr>
|
| 78 |
<td>CLIcK</td>
|
| 79 |
<td>83.51</td>
|
|
@@ -200,7 +214,7 @@ SK Telecom released **A.X 4.0** (pronounced "A dot X"), a large language model (
|
|
| 200 |
</tr></thead>
|
| 201 |
<tbody>
|
| 202 |
<tr>
|
| 203 |
-
<td rowspan="
|
| 204 |
<td>KMMLU</td>
|
| 205 |
<td>64.15</td>
|
| 206 |
<td>63.53</td>
|
|
@@ -208,6 +222,22 @@ SK Telecom released **A.X 4.0** (pronounced "A dot X"), a large language model (
|
|
| 208 |
<td>53.76</td>
|
| 209 |
<td>48.28</td>
|
| 210 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
<tr>
|
| 212 |
<td>CLIcK</td>
|
| 213 |
<td>68.05</td>
|
|
|
|
| 67 |
</tr></thead>
|
| 68 |
<tbody>
|
| 69 |
<tr>
|
| 70 |
+
<td rowspan="6">Knowledge</td>
|
| 71 |
<td>KMMLU</td>
|
| 72 |
<td>78.32</td>
|
| 73 |
<td>73.64</td>
|
| 74 |
<td>66.44</td>
|
| 75 |
<td>72.51</td>
|
| 76 |
</tr>
|
| 77 |
+
<tr>
|
| 78 |
+
<td>KMMLU-pro</td>
|
| 79 |
+
<td>72.43</td>
|
| 80 |
+
<td>64.4</td>
|
| 81 |
+
<td>56.27</td>
|
| 82 |
+
<td>66.97</td>
|
| 83 |
+
</tr>
|
| 84 |
+
<tr>
|
| 85 |
+
<td>KMMLU-redux</td>
|
| 86 |
+
<td>74.18</td>
|
| 87 |
+
<td>71.17</td>
|
| 88 |
+
<td>58.76</td>
|
| 89 |
+
<td>69.08</td>
|
| 90 |
+
</tr>
|
| 91 |
<tr>
|
| 92 |
<td>CLIcK</td>
|
| 93 |
<td>83.51</td>
|
|
|
|
| 214 |
</tr></thead>
|
| 215 |
<tbody>
|
| 216 |
<tr>
|
| 217 |
+
<td rowspan="6">Knowledge</td>
|
| 218 |
<td>KMMLU</td>
|
| 219 |
<td>64.15</td>
|
| 220 |
<td>63.53</td>
|
|
|
|
| 222 |
<td>53.76</td>
|
| 223 |
<td>48.28</td>
|
| 224 |
</tr>
|
| 225 |
+
<tr>
|
| 226 |
+
<td>KMMLU-pro</td>
|
| 227 |
+
<td>50.28</td>
|
| 228 |
+
<td>50.71</td>
|
| 229 |
+
<td>38.87</td>
|
| 230 |
+
<td>40.11</td>
|
| 231 |
+
<td>37.63</td>
|
| 232 |
+
</tr>
|
| 233 |
+
<tr>
|
| 234 |
+
<td>KMMLU-redux</td>
|
| 235 |
+
<td>56.05</td>
|
| 236 |
+
<td>55.74</td>
|
| 237 |
+
<td>38.58</td>
|
| 238 |
+
<td>42.21</td>
|
| 239 |
+
<td>35.33</td>
|
| 240 |
+
</tr>
|
| 241 |
<tr>
|
| 242 |
<td>CLIcK</td>
|
| 243 |
<td>68.05</td>
|