Instructions to use yolstacklok/cobol_coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use yolstacklok/cobol_coder with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="yolstacklok/cobol_coder", filename="unsloth.BF16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use yolstacklok/cobol_coder with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf yolstacklok/cobol_coder:BF16 # Run inference directly in the terminal: llama-cli -hf yolstacklok/cobol_coder:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf yolstacklok/cobol_coder:BF16 # Run inference directly in the terminal: llama-cli -hf yolstacklok/cobol_coder:BF16
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 yolstacklok/cobol_coder:BF16 # Run inference directly in the terminal: ./llama-cli -hf yolstacklok/cobol_coder:BF16
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 yolstacklok/cobol_coder:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf yolstacklok/cobol_coder:BF16
Use Docker
docker model run hf.co/yolstacklok/cobol_coder:BF16
- LM Studio
- Jan
- Ollama
How to use yolstacklok/cobol_coder with Ollama:
ollama run hf.co/yolstacklok/cobol_coder:BF16
- Unsloth Studio new
How to use yolstacklok/cobol_coder 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 yolstacklok/cobol_coder 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 yolstacklok/cobol_coder to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for yolstacklok/cobol_coder to start chatting
- Docker Model Runner
How to use yolstacklok/cobol_coder with Docker Model Runner:
docker model run hf.co/yolstacklok/cobol_coder:BF16
- Lemonade
How to use yolstacklok/cobol_coder with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull yolstacklok/cobol_coder:BF16
Run and chat with the model
lemonade run user.cobol_coder-BF16
List all available models
lemonade list
| { | |
| "</tool_call>": 151658, | |
| "<tool_call>": 151657, | |
| "<|PAD_TOKEN|>": 151665, | |
| "<|box_end|>": 151649, | |
| "<|box_start|>": 151648, | |
| "<|endoftext|>": 151643, | |
| "<|file_sep|>": 151664, | |
| "<|fim_middle|>": 151660, | |
| "<|fim_pad|>": 151662, | |
| "<|fim_prefix|>": 151659, | |
| "<|fim_suffix|>": 151661, | |
| "<|im_end|>": 151645, | |
| "<|im_start|>": 151644, | |
| "<|image_pad|>": 151655, | |
| "<|object_ref_end|>": 151647, | |
| "<|object_ref_start|>": 151646, | |
| "<|quad_end|>": 151651, | |
| "<|quad_start|>": 151650, | |
| "<|repo_name|>": 151663, | |
| "<|video_pad|>": 151656, | |
| "<|vision_end|>": 151653, | |
| "<|vision_pad|>": 151654, | |
| "<|vision_start|>": 151652 | |
| } | |