alpindale/two-million-bluesky-posts
Viewer • Updated • 2.11M • 1.45k • 206
How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="nyuuzyou/Qwen2.5-0.5B-Bluesky")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("nyuuzyou/Qwen2.5-0.5B-Bluesky", device_map="auto")How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf nyuuzyou/Qwen2.5-0.5B-Bluesky # Run inference directly in the terminal: llama cli -hf nyuuzyou/Qwen2.5-0.5B-Bluesky
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nyuuzyou/Qwen2.5-0.5B-Bluesky # Run inference directly in the terminal: llama cli -hf nyuuzyou/Qwen2.5-0.5B-Bluesky
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf nyuuzyou/Qwen2.5-0.5B-Bluesky # Run inference directly in the terminal: ./llama-cli -hf nyuuzyou/Qwen2.5-0.5B-Bluesky
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf nyuuzyou/Qwen2.5-0.5B-Bluesky # Run inference directly in the terminal: ./build/bin/llama-cli -hf nyuuzyou/Qwen2.5-0.5B-Bluesky
docker model run hf.co/nyuuzyou/Qwen2.5-0.5B-Bluesky
How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "nyuuzyou/Qwen2.5-0.5B-Bluesky"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "nyuuzyou/Qwen2.5-0.5B-Bluesky",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/nyuuzyou/Qwen2.5-0.5B-Bluesky
How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "nyuuzyou/Qwen2.5-0.5B-Bluesky" \
--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": "nyuuzyou/Qwen2.5-0.5B-Bluesky",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'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 "nyuuzyou/Qwen2.5-0.5B-Bluesky" \
--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": "nyuuzyou/Qwen2.5-0.5B-Bluesky",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with Ollama:
ollama run hf.co/nyuuzyou/Qwen2.5-0.5B-Bluesky
How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nyuuzyou/Qwen2.5-0.5B-Bluesky to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for nyuuzyou/Qwen2.5-0.5B-Bluesky to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for nyuuzyou/Qwen2.5-0.5B-Bluesky to start chatting
How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with Docker Model Runner:
docker model run hf.co/nyuuzyou/Qwen2.5-0.5B-Bluesky
How to use nyuuzyou/Qwen2.5-0.5B-Bluesky with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nyuuzyou/Qwen2.5-0.5B-Bluesky
lemonade run user.Qwen2.5-0.5B-Bluesky-{{QUANT_TAG}}lemonade list
This model is a fine-tuned version of the Qwen/Qwen2.5-0.5B language model on the alpindale/two-million-bluesky-posts dataset.
License: Dataset usage is subject to Bluesky's Terms of Service.
We're not able to determine the quantization variants.
Base model
Qwen/Qwen2.5-0.5B