Views
No views yet
1pip install tinker transformers
2export TINKER_API_KEY=your_key1import tinker
2from transformers import AutoTokenizer
3
4tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-VL-30B-A3B-Instruct", trust_remote_code=True)
5sampler = tinker.ServiceClient().create_sampling_client(
6 model_path="tinker://715ffb18-7e6e-535f-a674-ffa3d556451a:train:0/weights/final"
7)
8
9prompt = "<|im_start|>system\nYou are a geolocation expert.<|im_end|>\n<|im_start|>user\n<image>\nWhere is this image taken? Provide GPS coordinates.<|im_end|>\n<|im_start|>assistant\n"
10response = sampler.sample(
11 prompt=tinker.types.ModelInput.from_ints(tokenizer.encode(prompt)),
12 sampling_params=tinker.types.SamplingParams(max_tokens=256, temperature=0.7),
13).result()
14print(tokenizer.decode(response.sequences[0].tokens[len(tokenizer.encode(prompt)):]))1@misc{vista3-30b-baseline,
2 author = {Dantuluri, Surya},
3 title = {Vista: Visual Geolocation with Large Vision-Language Models},
4 year = {2026},
5 publisher = {HuggingFace},
6 url = {https://huggingface.co/sdan/vista3-30b-baseline}
7}