Views
No views yet

| Model | ELYZA-tasks-100 GPT4 score |
|---|---|
| Llama-3-ELYZA-JP-8B | 3.655 |
| Llama-3-ELYZA-JP-8B-GGUF (Q4_K_M) | 3.57 |
| Llama-3-ELYZA-JP-8B-AWQ | 3.39 |
brew install llama.cpp1$ llama-server \
2--hf-repo elyza/Llama-3-ELYZA-JP-8B-GGUF \
3--hf-file Llama-3-ELYZA-JP-8B-q4_k_m.gguf \
4--port 80801$ curl http://localhost:8080/v1/chat/completions \
2-H "Content-Type: application/json" \
3-d '{
4 "messages": [
5 { "role": "system", "content": "あなたは誠実で優秀な日本人のアシスタントです。特に指示が無い場合は、常に日本語で回答してください。" },
6 { "role": "user", "content": "古代ギリシャを学ぶ上で知っておくべきポイントは?" }
7 ],
8 "temperature": 0.6,
9 "max_tokens": -1,
10 "stream": false
11}'1import openai
2
3client = openai.OpenAI(
4 base_url="http://localhost:8080/v1",
5 api_key = "dummy_api_key"
6)
7
8completion = client.chat.completions.create(
9 model="dummy_model_name",
10 messages=[
11 {"role": "system", "content": "あなたは誠実で優秀な日本人のアシスタントです。特に指示が無い場合は、常に日本語で回答してください。"},
12 {"role": "user", "content": "古代ギリシャを学ぶ上で知っておくべきポイントは?"}
13 ]
14)elyza/Llama-3-ELYZA-JP-8B-GGUF in the search bar on the home page 🏠, and download Llama-3-ELYZA-JP-8B-q4_k_m.gguf.Llama-3-ELYZA-JP-8B-GGUF from "Select a Model to load" in the header, and load the model. You can now freely chat with the local LLM.<-> in the left sidebar and move to the Local Server tab. Select the model and click Start Server to launch an OpenAI API-compatible API server.
1@misc{elyzallama2024,
2 title={elyza/Llama-3-ELYZA-JP-8B},
3 url={https://huggingface.co/elyza/Llama-3-ELYZA-JP-8B},
4 author={Masato Hirakawa and Shintaro Horie and Tomoaki Nakamura and Daisuke Oba and Sam Passaglia and Akira Sasaki},
5 year={2024},
6}1@article{llama3modelcard,
2 title={Llama 3 Model Card},
3 author={AI@Meta},
4 year={2024},
5 url = {https://github.com/meta-llama/llama3/blob/main/MODEL_CARD.md}
6}