Text Generation
GGUF
Japanese
gpt2
japanese
日本語
char-level
character-level
no-bpe
chat
ollama
llama.cpp
from-scratch
conversational
Instructions to use Sido/makellm-ja-char-75m-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Sido/makellm-ja-char-75m-chat with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Sido/makellm-ja-char-75m-chat", filename="makellm-ja-char-75m-chat.f16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Sido/makellm-ja-char-75m-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 Sido/makellm-ja-char-75m-chat:F16 # Run inference directly in the terminal: llama cli -hf Sido/makellm-ja-char-75m-chat:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Sido/makellm-ja-char-75m-chat:F16 # Run inference directly in the terminal: llama cli -hf Sido/makellm-ja-char-75m-chat:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Sido/makellm-ja-char-75m-chat:F16 # Run inference directly in the terminal: ./llama-cli -hf Sido/makellm-ja-char-75m-chat:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Sido/makellm-ja-char-75m-chat:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Sido/makellm-ja-char-75m-chat:F16
Use Docker
docker model run hf.co/Sido/makellm-ja-char-75m-chat:F16
- LM Studio
- Jan
- vLLM
How to use Sido/makellm-ja-char-75m-chat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Sido/makellm-ja-char-75m-chat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sido/makellm-ja-char-75m-chat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Sido/makellm-ja-char-75m-chat:F16
- Ollama
How to use Sido/makellm-ja-char-75m-chat with Ollama:
ollama run hf.co/Sido/makellm-ja-char-75m-chat:F16
- Unsloth Studio
How to use Sido/makellm-ja-char-75m-chat with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 Sido/makellm-ja-char-75m-chat to start chatting
Install Unsloth Studio (Windows)
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 Sido/makellm-ja-char-75m-chat to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Sido/makellm-ja-char-75m-chat to start chatting
- Atomic Chat new
- Docker Model Runner
How to use Sido/makellm-ja-char-75m-chat with Docker Model Runner:
docker model run hf.co/Sido/makellm-ja-char-75m-chat:F16
- Lemonade
How to use Sido/makellm-ja-char-75m-chat with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Sido/makellm-ja-char-75m-chat:F16
Run and chat with the model
lemonade run user.makellm-ja-char-75m-chat-F16
List all available models
lemonade list
| FROM ./makellm-ja-char-75m-chat.f16.gguf | |
| TEMPLATE """{{ range .Messages }}{{ if eq .Role "user" }}<|user|>{{ .Content }}<|bot|>{{ else if eq .Role "assistant" }}{{ .Content }}<|end|>{{ end }}{{ end }}""" | |
| PARAMETER stop "<|end|>" | |
| PARAMETER stop "<|user|>" | |
| PARAMETER num_ctx 256 | |
| PARAMETER temperature 0.7 | |
| PARAMETER top_k 40 | |
| PARAMETER repeat_penalty 1.1 | |
| LICENSE """ | |
| makellm-ja-char-75m-chat is released under CC-BY-SA-4.0. | |
| https://creativecommons.org/licenses/by-sa/4.0/ | |
| Training data attribution: | |
| - CC-100 Japanese (range3/cc100-ja; CommonCrawl, cite XLM-R & CCNet) | |
| - Japanese Wikipedia (wikimedia/wikipedia; CC-BY-SA) | |
| - Aozora Bunko (globis-university/aozorabunko-clean; public domain) | |
| - oasst1-89k-ja (kunishou/oasst1-89k-ja; Apache-2.0) | |
| - databricks-dolly-15k-ja (kunishou/databricks-dolly-15k-ja; CC-BY-SA-3.0) | |
| """ | |