Text Generation
Transformers
GGUF
English
Japanese
imatrix
conversational
How to use from
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 "okamototk/Llama-3.1-Swallow-8B-Instruct-v0.5-gguf" \
    --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": "okamototk/Llama-3.1-Swallow-8B-Instruct-v0.5-gguf",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
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 "okamototk/Llama-3.1-Swallow-8B-Instruct-v0.5-gguf" \
        --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": "okamototk/Llama-3.1-Swallow-8B-Instruct-v0.5-gguf",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Llama-3.1-Swallow-8B-Instruct-v0.5-gguf - Built with Llama

このモデルは、Llama-3.1-Swallow-8B-Instruct-v0.5をOllamaで利用できるようにgguf形式に変換して量子化を行ったものです。

量子化は、imatrixを利用して行いました。imatrixの生成のデータセットはTFMC/imatrix-dataset-for-japanese-llmを利用しました。

imatrixを利用した量子化については、llama.cpp/examples/imatrixをご覧ください。

License

META LLAMA 3.1 COMMUNITY LICENSE and Gemma Terms of Use

上記のLlama-3.1-Swallow-8B-Instruct-v0.5のライセンスに従いご利用ください。本モデルを利用して発生した如何なる不利益や損害について、作成者は責任を負わないものとします。

Downloads last month
20
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for okamototk/Llama-3.1-Swallow-8B-Instruct-v0.5-gguf

Dataset used to train okamototk/Llama-3.1-Swallow-8B-Instruct-v0.5-gguf