Image-Text-to-Text
Transformers
Safetensors
gemma3
Generated from Trainer
grpo
trl
hf_jobs
conversational
text-generation-inference
Run this model with HF Jobs
Run cmcmaster/transcript-to-note 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 and TRL to fine-tune https://huggingface.co/cmcmaster/transcript-to-note. 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/cmcmaster/transcript-to-note 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/cmcmaster/transcript-to-note. 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/cmcmaster/transcript-to-note. 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 cmcmaster/transcript-to-note with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cmcmaster/transcript-to-note with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="cmcmaster/transcript-to-note") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("cmcmaster/transcript-to-note") model = AutoModelForMultimodalLM.from_pretrained("cmcmaster/transcript-to-note", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cmcmaster/transcript-to-note with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cmcmaster/transcript-to-note" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cmcmaster/transcript-to-note", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/cmcmaster/transcript-to-note
- SGLang
How to use cmcmaster/transcript-to-note 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 "cmcmaster/transcript-to-note" \ --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": "cmcmaster/transcript-to-note", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "cmcmaster/transcript-to-note" \ --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": "cmcmaster/transcript-to-note", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use cmcmaster/transcript-to-note with Docker Model Runner:
docker model run hf.co/cmcmaster/transcript-to-note
Training in progress, step 50
Browse filesFiles changed (6)
3 unmodified lines45678910113 unmodified linesmodel_name: transcript-to-notetags:- generated_from_trainer- trl- grpo- hf_jobslicence: license---3 unmodified lines45678910113 unmodified linesmodel_name: transcript-to-notetags:- generated_from_trainer- grpo- trl- hf_jobslicence: license---
28 unmodified lines2930313233343536373839404128 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["v_proj","k_proj","o_proj","q_proj","down_proj","gate_proj","up_proj"],"target_parameters": null,"task_type": "CAUSAL_LM",28 unmodified lines2930313233343536373839404128 unmodified lines"rank_pattern": {},"revision": null,"target_modules": ["up_proj","gate_proj","down_proj","q_proj","o_proj","v_proj","k_proj"],"target_parameters": null,"task_type": "CAUSAL_LM",
123version https://git-lfs.github.com/spec/v1oid sha256:903cf2e47100aee64cf0339f7780380a7d0fff5ec5ee7603080462dac6b15261size 65674128123version https://git-lfs.github.com/spec/v1oid sha256:294da2695330367db0862244777f6fd8ec79c54c527edf86874b1c10cf231d30size 65674128
123version https://git-lfs.github.com/spec/v1oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795size 33384568123version https://git-lfs.github.com/spec/v1oid sha256:d786405177734910d7a3db625c2826640964a0b4e5cdbbd70620ae3313a01befsize 33384722
51340 unmodified lines51341513425134351344513455134651340 unmodified lines"sp_model_kwargs": null,"spaces_between_special_tokens": false,"tokenizer_class": "GemmaTokenizer","unk_token": "<unk>","use_default_system_prompt": false}51340 unmodified lines5134151342513435134451345513465134751340 unmodified lines"sp_model_kwargs": null,"spaces_between_special_tokens": false,"tokenizer_class": "GemmaTokenizer","truncation_side": "left","unk_token": "<unk>","use_default_system_prompt": false}
123version https://git-lfs.github.com/spec/v1oid sha256:531eadd6946979b124896139644e87cf0b8a8d5f861a2c85603326ee8962a601size 7889123version https://git-lfs.github.com/spec/v1oid sha256:3d9a379be16c313e907b981f9cf7b3056c549f2b511d6cc1a170ebbf4d96beaesize 7889
README.md+1-1
adapter_config.json+6-6
adapter_model.safetensors+1-1
tokenizer.json+2-2
tokenizer_config.json+1
training_args.bin+1-1