Text Generation
Transformers
Safetensors
English
qwen3
Generated from Trainer
unsloth
trl
sft
text-generation-inference
Instructions to use andresnowak/Qwen3-0.6B-instruction-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andresnowak/Qwen3-0.6B-instruction-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="andresnowak/Qwen3-0.6B-instruction-finetuned")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("andresnowak/Qwen3-0.6B-instruction-finetuned") model = AutoModelForCausalLM.from_pretrained("andresnowak/Qwen3-0.6B-instruction-finetuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use andresnowak/Qwen3-0.6B-instruction-finetuned with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "andresnowak/Qwen3-0.6B-instruction-finetuned" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "andresnowak/Qwen3-0.6B-instruction-finetuned", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/andresnowak/Qwen3-0.6B-instruction-finetuned
- SGLang
How to use andresnowak/Qwen3-0.6B-instruction-finetuned 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 "andresnowak/Qwen3-0.6B-instruction-finetuned" \ --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": "andresnowak/Qwen3-0.6B-instruction-finetuned", "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 "andresnowak/Qwen3-0.6B-instruction-finetuned" \ --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": "andresnowak/Qwen3-0.6B-instruction-finetuned", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use andresnowak/Qwen3-0.6B-instruction-finetuned with Docker Model Runner:
docker model run hf.co/andresnowak/Qwen3-0.6B-instruction-finetuned
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,18 @@
|
|
| 1 |
-
---
|
| 2 |
-
base_model: unsloth/Qwen3-0.6B-Base
|
| 3 |
-
library_name: transformers
|
| 4 |
-
model_name: Qwen3-0.6B-instruction-finetuned
|
| 5 |
-
tags:
|
| 6 |
-
- generated_from_trainer
|
| 7 |
-
- unsloth
|
| 8 |
-
- trl
|
| 9 |
-
- sft
|
| 10 |
-
licence: license
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Model Card for Qwen3-0.6B-instruction-finetuned
|
| 14 |
|
|
@@ -28,7 +32,75 @@ print(output["generated_text"])
|
|
| 28 |
|
| 29 |
## Training procedure
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
This model was trained with SFT.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/Qwen3-0.6B-Base
|
| 3 |
+
library_name: transformers
|
| 4 |
+
model_name: Qwen3-0.6B-instruction-finetuned
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- unsloth
|
| 8 |
+
- trl
|
| 9 |
+
- sft
|
| 10 |
+
licence: license
|
| 11 |
+
datasets:
|
| 12 |
+
- andresnowak/Instruction-finetuning-mixture-mnlp
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
---
|
| 16 |
|
| 17 |
# Model Card for Qwen3-0.6B-instruction-finetuned
|
| 18 |
|
|
|
|
| 32 |
|
| 33 |
## Training procedure
|
| 34 |
|
| 35 |
+
```yaml
|
| 36 |
+
|
| 37 |
+
environment:
|
| 38 |
+
seed: 42
|
| 39 |
+
use_template: True
|
| 40 |
+
|
| 41 |
+
model:
|
| 42 |
+
name: Qwen/Qwen3-0.6B-Base
|
| 43 |
+
hub_model_id: andresnowak/Qwen3-0.6B-instruction-finetuned
|
| 44 |
+
|
| 45 |
+
dataset:
|
| 46 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 47 |
+
config: codeAlpaca
|
| 48 |
+
size: 0.3
|
| 49 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 50 |
+
config: noRobots
|
| 51 |
+
size: 0.8
|
| 52 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 53 |
+
config: openMathGsm8k
|
| 54 |
+
size: 0.3
|
| 55 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 56 |
+
config: codeV2
|
| 57 |
+
size: 0.3
|
| 58 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 59 |
+
config: flanV2
|
| 60 |
+
size: 0.8
|
| 61 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 62 |
+
config: ifData
|
| 63 |
+
size: 0.8
|
| 64 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 65 |
+
config: mathAlgebra
|
| 66 |
+
size: 0.3
|
| 67 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 68 |
+
config: mathGrade
|
| 69 |
+
size: 0.3
|
| 70 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 71 |
+
config: oasst1
|
| 72 |
+
size: 0.6
|
| 73 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 74 |
+
config: sciriff
|
| 75 |
+
size: 0.8
|
| 76 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 77 |
+
config: tableGpt
|
| 78 |
+
size: 0.3
|
| 79 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 80 |
+
config: tirMath
|
| 81 |
+
size: 0.4
|
| 82 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 83 |
+
config: wildChat
|
| 84 |
+
size: 0.7
|
| 85 |
+
- name: andresnowak/Instruction-finetuning-mixture-mnlp
|
| 86 |
+
config: mathV5
|
| 87 |
+
size: 0.2
|
| 88 |
+
|
| 89 |
+
dataset_evaluation:
|
| 90 |
+
- name: cais/mmlu
|
| 91 |
+
config: validation
|
| 92 |
+
subjects: ["abstract_algebra", "anatomy", "astronomy", "college_biology", "college_chemistry", "college_computer_science", "college_mathematics", "college_physics", "computer_security", "conceptual_physics", "electrical_engineering", "elementary_mathematics", "high_school_biology", "high_school_chemistry", "high_school_computer_science", "high_school_mathematics", "high_school_physics", "high_school_statistics", "machine_learning"]
|
| 93 |
+
|
| 94 |
+
training:
|
| 95 |
+
learning_rate: 1e-5
|
| 96 |
+
per_device_train_batch_size: 16
|
| 97 |
+
per_device_eval_batch_size: 16
|
| 98 |
+
gradient_accumulation_steps: 8
|
| 99 |
+
num_train_epochs: 2
|
| 100 |
+
weight_decay: 0.00
|
| 101 |
+
warmup_ratio: 0.03
|
| 102 |
+
max_grad_norm: 0.5
|
| 103 |
+
```
|
| 104 |
|
| 105 |
|
| 106 |
This model was trained with SFT.
|