beomi/KoAlpaca-RealQA
Viewer • Updated • 18.5k • 178 • 41
How to use beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF", dtype="auto")How to use beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF
How to use beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF" \
--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": "beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF",
"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 "beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF" \
--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": "beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF 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 beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF 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 beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF",
max_seq_length=2048,
)How to use beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF with Docker Model Runner:
docker model run hf.co/beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B-Q8_0-GGUF
This LoRA adapter was converted to GGUF format from beomi/KoAlpaca-RealQA-Solar-Ko-Recovery-11B via the ggml.ai's GGUF-my-lora space.
Refer to the original adapter repository for more details.
# with cli
llama-cli -m base_model.gguf --lora KoAlpaca-RealQA-Solar-Ko-Recovery-11B-q8_0.gguf (...other args)
# with server
llama-server -m base_model.gguf --lora KoAlpaca-RealQA-Solar-Ko-Recovery-11B-q8_0.gguf (...other args)
To know more about LoRA usage with llama.cpp server, refer to the llama.cpp server documentation.
8-bit
Base model
upstage/SOLAR-10.7B-v1.0