Text Generation
Transformers
Safetensors
GGUF
Japanese
English
llama
lightblue/karasu-1.1B
yuiseki/karasu-sake-qa-v0.1
text-generation-inference
Instructions to use aipib/karasu-lora-jp-qa-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aipib/karasu-lora-jp-qa-chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aipib/karasu-lora-jp-qa-chat")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("aipib/karasu-lora-jp-qa-chat") model = AutoModelForCausalLM.from_pretrained("aipib/karasu-lora-jp-qa-chat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use aipib/karasu-lora-jp-qa-chat with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf aipib/karasu-lora-jp-qa-chat:Q6_K # Run inference directly in the terminal: llama cli -hf aipib/karasu-lora-jp-qa-chat:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf aipib/karasu-lora-jp-qa-chat:Q6_K # Run inference directly in the terminal: llama cli -hf aipib/karasu-lora-jp-qa-chat:Q6_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf aipib/karasu-lora-jp-qa-chat:Q6_K # Run inference directly in the terminal: ./build/bin/llama cli -hf aipib/karasu-lora-jp-qa-chat:Q6_K
Use Docker
docker model run hf.co/aipib/karasu-lora-jp-qa-chat:Q6_K
- Llama new
- LM Studio
- Jan
- vLLM
How to use aipib/karasu-lora-jp-qa-chat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aipib/karasu-lora-jp-qa-chat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aipib/karasu-lora-jp-qa-chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/aipib/karasu-lora-jp-qa-chat:Q6_K
- SGLang
How to use aipib/karasu-lora-jp-qa-chat with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "aipib/karasu-lora-jp-qa-chat" \ --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": "aipib/karasu-lora-jp-qa-chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
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 "aipib/karasu-lora-jp-qa-chat" \ --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": "aipib/karasu-lora-jp-qa-chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use aipib/karasu-lora-jp-qa-chat with Ollama:
ollama run hf.co/aipib/karasu-lora-jp-qa-chat:Q6_K
- Unsloth Desktop
- Docker Model Runner
How to use aipib/karasu-lora-jp-qa-chat with Docker Model Runner:
docker model run hf.co/aipib/karasu-lora-jp-qa-chat:Q6_K
- Lemonade
How to use aipib/karasu-lora-jp-qa-chat with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull aipib/karasu-lora-jp-qa-chat:Q6_K
Run and chat with the model
lemonade run user.karasu-lora-jp-qa-chat-Q6_K
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload karasu-slerp1-mlx_lm-alpaca-Q6_K.gguf
Verified signature71629d0
-
Rename karasu-slerp1-ichikara-addqa-2-22-Q6_K.gguf to karasu-lora-jp-qa-instruct-Q6_K.gguf
Verified signature4e96035 -
Upload karasu-slerp1-ichikara-addqa-2-22-Q6_K.gguf
Verified signature18c1a97
-
Update README.md
Verified signature4ae37c0 -
Update README.md
Verified signature86b54c5 -
Upload 7 files
Verified signature3d7ee99 -
Delete tokenizer_config.json
Verified signaturef2d30e0 -
Delete tokenizer.model
Verified signature6cad8a4 -
Delete tokenizer.json
Verified signature45bc8a9 -
Delete special_tokens_map.json
Verified signatureb9b8377 -
Delete model.safetensors.index.json
Verified signature8dcdaba -
Delete model-00003-of-00003.safetensors
Verified signatureefc9fcf -
Delete model-00002-of-00003.safetensors
Verified signatured907cab -
Delete model-00001-of-00003.safetensors
Verified signatured937c95 -
Delete mergekit_config.yml
Verified signature410da93 -
Delete config.json
Verified signaturea21cf38 -
Update README.md
Verified signaturef482b55 -
Update README.md
Verified signaturee0a32dd -
Delete .gitattributes
Verified signaturebec2a57
-
Upload folder using huggingface_hub
Verified signatureefd6d72 -
initial commit
Verified signaturea8ed366