Text Generation
Transformers
TensorBoard
Safetensors
GGUF
qwen2
Generated from Trainer
qwen
GGUF
worldmodel
worldbuilding
text-generation-inference
conversational
Instructions to use archit11/qwen_worldmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("archit11/qwen_worldmodel") model = AutoModelForCausalLM.from_pretrained("archit11/qwen_worldmodel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use archit11/qwen_worldmodel with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf archit11/qwen_worldmodel # Run inference directly in the terminal: llama cli -hf archit11/qwen_worldmodel
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf archit11/qwen_worldmodel # Run inference directly in the terminal: llama cli -hf archit11/qwen_worldmodel
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf archit11/qwen_worldmodel # Run inference directly in the terminal: ./llama-cli -hf archit11/qwen_worldmodel
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf archit11/qwen_worldmodel # Run inference directly in the terminal: ./build/bin/llama-cli -hf archit11/qwen_worldmodel
Use Docker
docker model run hf.co/archit11/qwen_worldmodel
- LM Studio
- Jan
- vLLM
How to use archit11/qwen_worldmodel with vLLM:
Install from pip and serve model
# 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/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "archit11/qwen_worldmodel", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/archit11/qwen_worldmodel
- SGLang
How to use archit11/qwen_worldmodel 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 "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/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "archit11/qwen_worldmodel", "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 "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/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "archit11/qwen_worldmodel", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use archit11/qwen_worldmodel with Ollama:
ollama run hf.co/archit11/qwen_worldmodel
- Unsloth Desktop
- Pi
How to use archit11/qwen_worldmodel with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf archit11/qwen_worldmodel
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "archit11/qwen_worldmodel" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use archit11/qwen_worldmodel with Docker Model Runner:
docker model run hf.co/archit11/qwen_worldmodel
- Lemonade
How to use archit11/qwen_worldmodel with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull archit11/qwen_worldmodel
Run and chat with the model
lemonade run user.qwen_worldmodel-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use archit11/qwen_worldmodel with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf archit11/qwen_worldmodel
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default archit11/qwen_worldmodel
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use archit11/qwen_worldmodel with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf archit11/qwen_worldmodel
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "archit11/qwen_worldmodel" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Improve language tag
#1
by lbourdois - opened
README.md
CHANGED
|
@@ -1,84 +1,98 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: transformers
|
| 3 |
-
license: apache-2.0
|
| 4 |
-
base_model: Qwen/Qwen2.5-0.5B
|
| 5 |
-
tags:
|
| 6 |
-
- generated_from_trainer
|
| 7 |
-
- qwen
|
| 8 |
-
- GGUF
|
| 9 |
-
- worldmodel
|
| 10 |
-
- worldbuilding
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
-
|
| 16 |
-
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
##
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
### Training
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
|
| 74 |
-
|
|
| 75 |
-
|
|
| 76 |
-
|
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
- Tokenizers 0.19.1
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Qwen/Qwen2.5-0.5B
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- qwen
|
| 8 |
+
- GGUF
|
| 9 |
+
- worldmodel
|
| 10 |
+
- worldbuilding
|
| 11 |
+
datasets:
|
| 12 |
+
- archit11/worldbuilding
|
| 13 |
+
language:
|
| 14 |
+
- zho
|
| 15 |
+
- eng
|
| 16 |
+
- fra
|
| 17 |
+
- spa
|
| 18 |
+
- por
|
| 19 |
+
- deu
|
| 20 |
+
- ita
|
| 21 |
+
- rus
|
| 22 |
+
- jpn
|
| 23 |
+
- kor
|
| 24 |
+
- vie
|
| 25 |
+
- tha
|
| 26 |
+
- ara
|
| 27 |
+
model-index:
|
| 28 |
+
- name: capybara_finetuned_results3
|
| 29 |
+
results: []
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 33 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 34 |
+
|
| 35 |
+
# capybara_finetuned_results3
|
| 36 |
+
|
| 37 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B) on an unknown dataset.
|
| 38 |
+
It achieves the following results on the evaluation set:
|
| 39 |
+
- Loss: 5.6542
|
| 40 |
+
|
| 41 |
+
## video demo : (its pretty bad)
|
| 42 |
+
|
| 43 |
+
<video controls autoplay muted src="https://0x0.st/XgZs.mp4"></video>
|
| 44 |
+
|
| 45 |
+
More information needed
|
| 46 |
+
|
| 47 |
+
## Intended uses & limitations
|
| 48 |
+
|
| 49 |
+
More information needed
|
| 50 |
+
|
| 51 |
+
## Training and evaluation data
|
| 52 |
+
|
| 53 |
+
More information needed
|
| 54 |
+
|
| 55 |
+
## Training procedure
|
| 56 |
+
|
| 57 |
+
### Training hyperparameters
|
| 58 |
+
|
| 59 |
+
The following hyperparameters were used during training:
|
| 60 |
+
- learning_rate: 0.0002
|
| 61 |
+
- train_batch_size: 1
|
| 62 |
+
- eval_batch_size: 8
|
| 63 |
+
- seed: 42
|
| 64 |
+
- gradient_accumulation_steps: 4
|
| 65 |
+
- total_train_batch_size: 4
|
| 66 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 67 |
+
- lr_scheduler_type: cosine
|
| 68 |
+
- lr_scheduler_warmup_steps: 5
|
| 69 |
+
- training_steps: 800
|
| 70 |
+
|
| 71 |
+
### Training results
|
| 72 |
+
|
| 73 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 74 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 75 |
+
| 15.5311 | 0.0230 | 50 | 14.5422 |
|
| 76 |
+
| 8.7477 | 0.0460 | 100 | 9.2952 |
|
| 77 |
+
| 7.3554 | 0.0690 | 150 | 7.1992 |
|
| 78 |
+
| 6.828 | 0.0920 | 200 | 6.7258 |
|
| 79 |
+
| 6.4694 | 0.1150 | 250 | 6.3597 |
|
| 80 |
+
| 6.3401 | 0.1381 | 300 | 6.1703 |
|
| 81 |
+
| 6.1256 | 0.1611 | 350 | 6.0395 |
|
| 82 |
+
| 6.0372 | 0.1841 | 400 | 5.9271 |
|
| 83 |
+
| 6.0221 | 0.2071 | 450 | 5.8464 |
|
| 84 |
+
| 5.8783 | 0.2301 | 500 | 5.7810 |
|
| 85 |
+
| 5.8339 | 0.2531 | 550 | 5.7335 |
|
| 86 |
+
| 5.8546 | 0.2761 | 600 | 5.6904 |
|
| 87 |
+
| 5.9169 | 0.2991 | 650 | 5.6690 |
|
| 88 |
+
| 5.7959 | 0.3221 | 700 | 5.6565 |
|
| 89 |
+
| 5.7271 | 0.3451 | 750 | 5.6543 |
|
| 90 |
+
| 5.8734 | 0.3682 | 800 | 5.6542 |
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
### Framework versions
|
| 94 |
+
|
| 95 |
+
- Transformers 4.44.2
|
| 96 |
+
- Pytorch 2.4.0
|
| 97 |
+
- Datasets 3.0.0
|
| 98 |
- Tokenizers 0.19.1
|