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 files53 unmodified lines5455565758596061626364652 unmodified lines6869707172737475767778798024 unmodified lines10510610710810911011111211311411513 unmodified lines1291301311321331341351361371381 unmodified line14014114214314414514614714814953 unmodified linesgradient_checkpointing: truegradient_checkpointing_kwargs:use_reentrant: falsedatasets:- path: paulvision/medscript-sft-summarisertype: chat_templatechat_template: qwen3field_messages: messagestrain_on_inputs: falseroles_to_train:- assistanttest_datasets:2 unmodified linestype: chat_templatechat_template: qwen3field_messages: messagessequence_len: 1024sample_packing: truepad_to_sequence_len: trueeval_sample_packing: falsenum_train_epochs: 3micro_batch_size: 2gradient_accumulation_steps: 16learning_rate: 0.0002lr_scheduler: cosinewarmup_ratio: 0.0524 unmodified linesThis 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: 2.2212- Ppl: 9.2181- Memory/max Active (gib): 18.67- Memory/max Allocated (gib): 18.67- Memory/device Reserved (gib): 19.45## Model description13 unmodified linesThe following hyperparameters were used during training:- learning_rate: 0.0002- train_batch_size: 2- eval_batch_size: 2- seed: 42- gradient_accumulation_steps: 16- total_train_batch_size: 32- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine1 unmodified line### Training results| Training Loss | Epoch | Step | Validation Loss | Ppl | Active (gib) | Allocated (gib) | Reserved (gib) ||:-------------:|:------:|:----:|:---------------:|:-------:|:------------:|:---------------:|:--------------:|| No log | 0 | 0 | 3.3640 | 28.9051 | 18.34 | 18.34 | 18.37 || 2.4154 | 2.6275 | 10 | 2.2212 | 9.2181 | 18.67 | 18.67 | 19.45 |### Framework versions53 unmodified lines545556575859606162636465662 unmodified lines69707172737475767778798081828324 unmodified lines10810911011111211311411511611711813 unmodified lines1321331341351361371381391401411 unmodified line14314414514614714814915015115253 unmodified linesgradient_checkpointing: truegradient_checkpointing_kwargs:use_reentrant: falsetrain_on_inputs: falsedatasets:- path: paulvision/medscript-sft-summarisersplit: traintype: chat_templatechat_template: qwen3field_messages: messagesroles_to_train:- assistanttest_datasets:2 unmodified linestype: chat_templatechat_template: qwen3field_messages: messagesroles_to_train:- assistantsequence_len: 1024sample_packing: truepad_to_sequence_len: trueeval_sample_packing: falsenum_train_epochs: 3micro_batch_size: 8gradient_accumulation_steps: 4learning_rate: 0.0002lr_scheduler: cosinewarmup_ratio: 0.0524 unmodified linesThis 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.4104- Ppl: 1.5074- Memory/max Active (gib): 27.46- Memory/max Allocated (gib): 27.46- Memory/device Reserved (gib): 27.71## Model description13 unmodified linesThe following hyperparameters were used during training:- learning_rate: 0.0002- train_batch_size: 8- eval_batch_size: 8- seed: 42- gradient_accumulation_steps: 4- total_train_batch_size: 32- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: cosine1 unmodified line### Training results| Training Loss | Epoch | Step | Validation Loss | Ppl | Active (gib) | Allocated (gib) | Reserved (gib) ||:-------------:|:------:|:----:|:---------------:|:------:|:------------:|:---------------:|:--------------:|| No log | 0 | 0 | 1.4770 | 4.3798 | 27.1 | 27.1 | 27.18 || 0.5294 | 0.0303 | 10 | 0.4104 | 1.5074 | 27.46 | 27.46 | 27.71 |### Framework versions
1116 unmodified lines11171118111911201116 unmodified lines100%|ββββββββββ| 243/243 [01:22<00:00, 2.68it/s][A[A[2026-08-19 12:38:06,204] [INFO] [axolotl.core.trainers.base._save:928] [PID:4620] Saving model checkpoint to ./checkpoints/sft/summariser/checkpoint-10{'train_runtime': '213.2', 'train_samples_per_second': '1.501', 'train_steps_per_second': '0.047', 'train_loss': '0.5294', 'memory/max_active (GiB)': '15.81', 'memory/max_allocated (GiB)': '15.81', 'memory/device_reserved (GiB)': '27.56', 'epoch': '0.03028'}100%|ββββββββββ| 10/10 [03:30<00:00, 4.71s/it] 100%|ββββββββββ| 10/10 [03:30<00:00, 21.05s/it]1116 unmodified lines11171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831116 unmodified lines100%|ββββββββββ| 243/243 [01:22<00:00, 2.68it/s][A[A[2026-08-19 12:38:06,204] [INFO] [axolotl.core.trainers.base._save:928] [PID:4620] Saving model checkpoint to ./checkpoints/sft/summariser/checkpoint-10{'train_runtime': '213.2', 'train_samples_per_second': '1.501', 'train_steps_per_second': '0.047', 'train_loss': '0.5294', 'memory/max_active (GiB)': '15.81', 'memory/max_allocated (GiB)': '15.81', 'memory/device_reserved (GiB)': '27.56', 'epoch': '0.03028'}100%|ββββββββββ| 10/10 [03:30<00:00, 4.71s/it] 100%|ββββββββββ| 10/10 [03:30<00:00, 21.05s/it][2026-08-19 12:38:28,969] [INFO] [axolotl.train.save_trained_model:267] [PID:4620] Training completed! Saving trained model to ./checkpoints/sft/summariser.[2026-08-19 12:38:29,261] [INFO] [axolotl.train.save_trained_model:412] [PID:4620] Model successfully saved to ./checkpoints/sft/summariser[2026-08-19 12:38:29,338] [INFO] [axolotl.core.trainers.base._save:928] [PID:4620] Saving model checkpoint to ./checkpoints/sft/summariserProcessing Files (0 / 0) : | | 0.00B / 0.00BNew Data Upload : | | 0.00B / 0.00B [A...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A...adapter_model.safetensors: 69%|βββββββ | 120MB / 175MB [A[A[A...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A[A...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A...adapter_model.safetensors: 69%|βββββββ | 120MB / 175MB [A[A[A...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A[A Processing Files (2 / 3) : 71%|βββββββ | 131MB / 186MB, ???B/s...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A...adapter_model.safetensors: 100%|ββββββββββ| 175MB / 175MB [A[A[A...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A[A Processing Files (3 / 3) : 100%|ββββββββββ| 186MB / 186MB, 274MB/s...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A...adapter_model.safetensors: 100%|ββββββββββ| 175MB / 175MB [A[A[A...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A[A...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A...adapter_model.safetensors: 100%|ββββββββββ| 175MB / 175MB [A[A[A...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A[A...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB [A[A...adapter_model.safetensors: 100%|ββββββββββ| 175MB / 175MB [A[A[A...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB [A[A[A[A Processing Files (3 / 3) : 100%|ββββββββββ| 186MB / 186MB, 91.1MB/sNew Data Upload : | | 0.00B / 0.00B, 0.00B/s...mariser/training_args.bin: 100%|ββββββββββ| 13.3kB / 13.3kB...adapter_model.safetensors: 100%|ββββββββββ| 175MB / 175MB...summariser/tokenizer.json: 100%|ββββββββββ| 11.4MB / 11.4MB
README.md+18-15
debug.log+64-1