Text Generation
PEFT
Safetensors
Transformers
qwen3
axolotl
lora
conversational
text-generation-inference
Run this model with HF Jobs
Run paulvision/medscript-dora-summariser on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/paulvision/medscript-dora-summariser. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/paulvision/medscript-dora-summariser on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/paulvision/medscript-dora-summariser. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/paulvision/medscript-dora-summariser. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use paulvision/medscript-dora-summariser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use paulvision/medscript-dora-summariser with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "paulvision/medscript-dora-summariser") - Transformers
How to use paulvision/medscript-dora-summariser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="paulvision/medscript-dora-summariser") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("paulvision/medscript-dora-summariser") model = AutoModelForCausalLM.from_pretrained("paulvision/medscript-dora-summariser", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use paulvision/medscript-dora-summariser with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "paulvision/medscript-dora-summariser" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "paulvision/medscript-dora-summariser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/paulvision/medscript-dora-summariser
- SGLang
How to use paulvision/medscript-dora-summariser 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 "paulvision/medscript-dora-summariser" \ --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": "paulvision/medscript-dora-summariser", "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 "paulvision/medscript-dora-summariser" \ --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": "paulvision/medscript-dora-summariser", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use paulvision/medscript-dora-summariser with Docker Model Runner:
docker model run hf.co/paulvision/medscript-dora-summariser
End of training
Browse files48 unmodified lines495051525253545536 unmodified lines92939495959697989910010110244 unmodified lines14714814914614714814915015015115215315415515615727 unmodified lines18518618718418518618718818818919019119219319419548 unmodified lineslora_r: 16lora_alpha: 32lora_dropout: 0.0use_dora: truepeft_use_dora: trueloraplus_lr_ratio: 16.0loraplus_lr_embedding: 1.0e-6lora_target_modules:36 unmodified linespad_to_sequence_len: trueeval_sample_packing: false
num_train_epochs: 3# 1, not 3. Measured 2026-08-20 on the full dataset: eval_loss went 1.474 -> 0.3797# (0.30 ep) -> 0.3698 (0.61) -> 0.3607 (0.91) -> 0.3606 (1.0). Flat to 4 decimal places# by the end of epoch 1, so epochs 2-3 buy nothing but overfitting risk and GPU time.# The pushed medscript-dora-summariser adapter is this 1-epoch run.num_epochs: 1# Measured on H100 80GB, 10 steps of sft_summariser, effective batch 32 throughout:# micro_batch 8 / accum 4 -> 27.7 GiB, ~4.3 s/step, eval_loss 0.4104# micro_batch 16 / accum 2 -> 39.4 GiB, ~3.9 s/step, eval_loss 0.410144 unmodified lines
This model is a fine-tuned version of [Qwen/Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) on the paulvision/medscript-sft-summariser dataset.It achieves the following results on the evaluation set:- Loss: 0.3606- Ppl: 1.4342- Memory/max Active (gib): 39.12- Memory/max Allocated (gib): 39.12- Memory/device Reserved (gib): 39.43- Loss: 0.3609- Ppl: 1.4346- Memory/max Active (gib): 39.14- Memory/max Allocated (gib): 39.14- Memory/device Reserved (gib): 44.08
## Model description
27 unmodified lines
| Training Loss | Epoch | Step | Validation Loss | Ppl | Active (gib) | Allocated (gib) | Reserved (gib) ||:-------------:|:------:|:----:|:---------------:|:------:|:------------:|:---------------:|:--------------:|| No log | 0 | 0 | 1.4740 | 4.3666 | 38.76 | 38.76 | 38.9 || 0.3937 | 0.3049 | 100 | 0.3797 | 1.4619 | 39.12 | 39.12 | 39.43 || 0.3665 | 0.6098 | 200 | 0.3698 | 1.4475 | 39.12 | 39.12 | 39.43 || 0.3545 | 0.9146 | 300 | 0.3607 | 1.4343 | 39.12 | 39.12 | 39.43 || 0.3559 | 1.0 | 328 | 0.3606 | 1.4342 | 39.12 | 39.12 | 39.43 || No log | 0 | 0 | 1.4780 | 4.3842 | 38.77 | 38.77 | 38.91 || 0.3958 | 0.3049 | 100 | 0.3807 | 1.4633 | 39.14 | 39.14 | 44.08 || 0.3673 | 0.6098 | 200 | 0.3702 | 1.4481 | 39.14 | 39.14 | 44.08 || 0.3550 | 0.9146 | 300 | 0.3611 | 1.4349 | 39.14 | 39.14 | 44.08 || 0.3560 | 1.0 | 328 | 0.3609 | 1.4346 | 39.14 | 39.14 | 44.08 |
### Framework versions959 unmodified lines960961962963963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035959 unmodified lines
100%|ββββββββββ| 121/121 [01:30<00:00, 1.28it/s][A
[A[2026-08-20 06:51:05,363] [INFO] [axolotl.core.trainers.base._save:928] [PID:12398] Saving model checkpoint to ./checkpoints/sft/summariser/checkpoint-328
{'train_runtime': '1830', 'train_samples_per_second': '5.734', 'train_steps_per_second': '0.179', 'train_loss': '0.3832', 'memory/max_active (GiB)': '15.83', 'memory/max_allocated (GiB)': '15.83', 'memory/device_reserved (GiB)': '39.29', 'epoch': '1'}
100%|ββββββββββ| 328/328 [30:27<00:00, 3.92s/it]
100%|ββββββββββ| 328/328 [30:27<00:00, 5.57s/it]
100%|ββββββββββ| 328/328 [30:27<00:00, 3.92s/it]
100%|ββββββββββ| 328/328 [30:27<00:00, 5.57s/it][2026-08-20 06:51:15,127] [INFO] [axolotl.train.save_trained_model:267] [PID:12398] Training completed! Saving trained model to ./checkpoints/sft/summariser.[2026-08-20 06:51:15,628] [INFO] [axolotl.train.save_trained_model:412] [PID:12398] Model successfully saved to ./checkpoints/sft/summariser[2026-08-20 06:51:15,750] [INFO] [axolotl.core.trainers.base._save:928] [PID:12398] Saving model checkpoint to ./checkpoints/sft/summariser
Processing Files (0 / 0) : | | 0.00B / 0.00B
New Data Upload : | | 0.00B / 0.00B [A
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A
...adapter_model.safetensors: 58%|ββββββ | 104MB / 180MB [A[A[A[A
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A
...adapter_model.safetensors: 58%|ββββββ | 104MB / 180MB [A[A[A[A
Processing Files (2 / 3) : 60%|ββββββ | 115MB / 192MB, ???B/s
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A
...adapter_model.safetensors: 100%|ββββββββββ| 180MB / 180MB [A[A[A[A
Processing Files (3 / 3) : 100%|ββββββββββ| 192MB / 192MB, 383MB/s
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A
...adapter_model.safetensors: 100%|ββββββββββ| 180MB / 180MB [A[A[A[A
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A
...adapter_model.safetensors: 100%|ββββββββββ| 180MB / 180MB [A[A[A[A
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A
...adapter_model.safetensors: 100%|ββββββββββ| 180MB / 180MB [A[A[A[A
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A
...adapter_model.safetensors: 100%|ββββββββββ| 180MB / 180MB [A[A[A[A
Processing Files (3 / 3) : 100%|ββββββββββ| 192MB / 192MB, 95.4MB/s
New Data Upload : | | 0.00B / 0.00B, 0.00B/s
...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB
...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB
...adapter_model.safetensors: 100%|ββββββββββ| 180MB / 180MB README.md+16-12
debug.log+73-1