WizardLMTeam/WizardLM_evol_instruct_V2_196k
Viewer โข Updated โข 143k โข 2.51k โข 249
How to use Azure99/blossom-v2-3b with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Azure99/blossom-v2-3b") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Azure99/blossom-v2-3b")
model = AutoModelForCausalLM.from_pretrained("Azure99/blossom-v2-3b")How to use Azure99/blossom-v2-3b with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Azure99/blossom-v2-3b"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Azure99/blossom-v2-3b",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/Azure99/blossom-v2-3b
How to use Azure99/blossom-v2-3b with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Azure99/blossom-v2-3b" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Azure99/blossom-v2-3b",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "Azure99/blossom-v2-3b" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Azure99/blossom-v2-3b",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use Azure99/blossom-v2-3b with Docker Model Runner:
docker model run hf.co/Azure99/blossom-v2-3b
๐ปGithub โข ๐Blossom Chat Demo
Blossomๆฏไธไธชๅฏน่ฏๅผ่ฏญ่จๆจกๅ๏ผๅบไบBloom-3b้ข่ฎญ็ปๆจกๅ๏ผๅจBlossomใWizardใDolphinๆททๅๆฐๆฎ้ไธ่ฟ่กๆไปค็ฒพ่ฐๅพๆฅใ
่ฎญ็ปๅไธบไธค้ถๆฎต๏ผ็ฌฌไธ้ถๆฎตไฝฟ็จ120K Wizardใ180K Dolphinๅ่ฝฎๆไปคๆฐๆฎ้๏ผ่ฎญ็ป1ไธชepoch๏ผ็ฌฌไบ้ถๆฎตไฝฟ็จ60K Blossom chatใ2K Blossom mathๅค่ฝฎๅฏน่ฏๆฐๆฎ้๏ผ่ฎญ็ป3ไธชepochใ
ๆจ็้็จๅฏน่ฏ็ปญๅ็ๅฝขๅผใ
ๅ่ฝฎๅฏน่ฏ
A chat between a human and an artificial intelligence bot. The bot gives helpful, detailed, and polite answers to the human's questions.
|Human|: ไฝ ๅฅฝ
|Bot|:
ๅค่ฝฎๅฏน่ฏ
A chat between a human and an artificial intelligence bot. The bot gives helpful, detailed, and polite answers to the human's questions.
|Human|: ไฝ ๅฅฝ
|Bot|: ไฝ ๅฅฝ๏ผๆไปไนๆ่ฝๅธฎๅฉไฝ ็๏ผ</s>
|Human|: ไป็ปไธไธญๅฝ็้ฆ้ฝๅง
|Bot|:
ๆณจๆ๏ผๅจๅๅฒๅฏน่ฏ็Bot่พๅบ็ปๅฐพ๏ผๆผๆฅไธไธช</s>