qwen25-api / README.md
dragonjump
update
0f6bee9
|
raw
history blame
1.42 kB
metadata
title: Qwen25 Api
emoji: 🌖
colorFrom: green
colorTo: green
sdk: docker
pinned: false
license: apache-2.0

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

curl -G "https://lseanlon-qwen25-api.hf.space/predict"
--data-urlencode "image_url=https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"
--data-urlencode "prompt=Describe this image."

curl -G "https://lseanlon-qwen25-api.hf.space/"
--data-urlencode "image_url=https://huggingface.co/front/assets/huggingface_logo-noborder.svg"
--data-urlencode "prompt=Describe this image."

curl -G "https://lseanlon-qwen25-api.hf.space/predict"
--data-urlencode "image_url=https://images.all-free-download.com/images/thumbjpg/cat_hangover_relax_213869.jpg"
--data-urlencode "prompt=Describe this image."

curl -G "https://lseanlon-qwen25-api.hf.space/predict"
--data-urlencode "prompt=why is the sky blue?"

FROM qwen2.5-coder:7b PARAMETER num_ctx 48000

ollama create -f ZModelfile qwen2.5:latest-custom

curl http://localhost:11434/api/chat -d '{ "model": "qwen2.5:latest", "messages": [ { "role": "user", "content": "why is the sky blue?" } ] }'

curl https://dry-taxes-fold.loca.lt/api/chat -d '{ "model": "qwen2.5:latest", "messages": [ { "role": "user", "content": "why is the sky blue?" } ] }'