How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "simonguest/Qwen3-1.7B-code-explainer"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "simonguest/Qwen3-1.7B-code-explainer",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/simonguest/Qwen3-1.7B-code-explainer:F16
Quick Links

Qwen3-1.7B-code-explainer

Model Description

Fine-tuned from Qwen/Qwen3-1.7B using QLoRA (4-bit) with supervised fine-tuning.

Training Details

  • Dataset: simonguest/test-dataset
  • LoRA rank: 16, alpha: 32
  • Epochs: 3, Learning rate: 0.0002

Intended Use

This model is a test model used for the CS-394/594 class at DigiPen.

The model is designed to provide a summary explanation of a snippet of Python code, to be used in an IDE. This model takes a snippet of code (passed as the user prompt) and returns a two paragraph explanation of what the code does, including an analogy that helps students better understand how the code functions.

Limitations

This model is a single-turn model and has not been trained on support long, multi-turn conversations.

Downloads last month
13
Safetensors
Model size
2B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with simonguest/Qwen3-1.7B-code-explainer.

Model tree for simonguest/Qwen3-1.7B-code-explainer

Finetuned
Qwen/Qwen3-1.7B
Adapter
(511)
this model