Instructions to use aixk/fastplus-125m-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aixk/fastplus-125m-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aixk/fastplus-125m-test")# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("aixk/fastplus-125m-test", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use aixk/fastplus-125m-test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aixk/fastplus-125m-test" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aixk/fastplus-125m-test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/aixk/fastplus-125m-test
- SGLang
How to use aixk/fastplus-125m-test 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 "aixk/fastplus-125m-test" \ --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": "aixk/fastplus-125m-test", "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 "aixk/fastplus-125m-test" \ --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": "aixk/fastplus-125m-test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use aixk/fastplus-125m-test with Docker Model Runner:
docker model run hf.co/aixk/fastplus-125m-test
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,9 +10,6 @@ tags: []
|
|
| 10 |
<div align="center">
|
| 11 |
|
| 12 |
|
| 13 |
-
|
| 14 |
-

|
| 15 |
-
|
| 16 |
์ํคํ
์ณ ํ
์คํธ ์ด์ ๋ณด๋ค ์๋ ๊ฐ์
|
| 17 |
|
| 18 |
<img src="https://cdn.jsdelivr.net/gh/sllkx/icons@main/logo/isai2.png" alt="ISAI Logo" width="160" style="border-radius: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); margin-bottom: 15px;">
|
|
|
|
| 10 |
<div align="center">
|
| 11 |
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
์ํคํ
์ณ ํ
์คํธ ์ด์ ๋ณด๋ค ์๋ ๊ฐ์
|
| 14 |
|
| 15 |
<img src="https://cdn.jsdelivr.net/gh/sllkx/icons@main/logo/isai2.png" alt="ISAI Logo" width="160" style="border-radius: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); margin-bottom: 15px;">
|