Instructions to use RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf 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 RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M
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 RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf with Ollama:
ollama run hf.co/RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/Colby_-_starcoder-eluse-simplified-gguf:Q4_K_M
Run and chat with the model
lemonade run user.Colby_-_starcoder-eluse-simplified-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
starcoder-eluse-simplified - GGUF
- Model creator: https://huggingface.co/Colby/
- Original model: https://huggingface.co/Colby/starcoder-eluse-simplified/
Original model description:
tags: - autotrain - text-generation-inference - text-generation library_name: transformers base_model: bigcode/tiny_starcoder_py widget: - messages: - role: user content: What is your favorite condiment? license: other
Model Trained Using AutoTrain
This model was trained using AutoTrain. For more information, please visit AutoTrain.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model_path = "PATH_TO_THIS_REPO"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(
model_path,
device_map="auto",
torch_dtype='auto'
).eval()
# Prompt content: "hi"
messages = [
{"role": "user", "content": "hi"}
]
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
output_ids = model.generate(input_ids.to('cuda'))
response = tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=True)
# Model response: "Hello! How can I assist you today?"
print(response)
- Downloads last month
- 183
Hardware compatibility
Log In to add your hardware
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support