archit11/worldbuilding
Viewer • Updated • 29k • 116
How to use archit11/qwen_worldmodel with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="archit11/qwen_worldmodel") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("archit11/qwen_worldmodel")
model = AutoModelForCausalLM.from_pretrained("archit11/qwen_worldmodel")How to use archit11/qwen_worldmodel with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "archit11/qwen_worldmodel"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "archit11/qwen_worldmodel",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/archit11/qwen_worldmodel
How to use archit11/qwen_worldmodel with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "archit11/qwen_worldmodel" \
--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": "archit11/qwen_worldmodel",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "archit11/qwen_worldmodel" \
--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": "archit11/qwen_worldmodel",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use archit11/qwen_worldmodel with Docker Model Runner:
docker model run hf.co/archit11/qwen_worldmodel
This model is a fine-tuned version of Qwen/Qwen2.5-0.5B on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 15.5311 | 0.0230 | 50 | 14.5422 |
| 8.7477 | 0.0460 | 100 | 9.2952 |
| 7.3554 | 0.0690 | 150 | 7.1992 |
| 6.828 | 0.0920 | 200 | 6.7258 |
| 6.4694 | 0.1150 | 250 | 6.3597 |
| 6.3401 | 0.1381 | 300 | 6.1703 |
| 6.1256 | 0.1611 | 350 | 6.0395 |
| 6.0372 | 0.1841 | 400 | 5.9271 |
| 6.0221 | 0.2071 | 450 | 5.8464 |
| 5.8783 | 0.2301 | 500 | 5.7810 |
| 5.8339 | 0.2531 | 550 | 5.7335 |
| 5.8546 | 0.2761 | 600 | 5.6904 |
| 5.9169 | 0.2991 | 650 | 5.6690 |
| 5.7959 | 0.3221 | 700 | 5.6565 |
| 5.7271 | 0.3451 | 750 | 5.6543 |
| 5.8734 | 0.3682 | 800 | 5.6542 |
We're not able to determine the quantization variants.
Base model
Qwen/Qwen2.5-0.5B