Text Generation
Transformers
Safetensors
GGUF
English
llama
text-generation-inference
unsloth
conversational
Instructions to use Docker-inaria/Dockerollama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Docker-inaria/Dockerollama with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Docker-inaria/Dockerollama") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Docker-inaria/Dockerollama") model = AutoModelForCausalLM.from_pretrained("Docker-inaria/Dockerollama", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Docker-inaria/Dockerollama 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 Docker-inaria/Dockerollama:Q8_0 # Run inference directly in the terminal: llama cli -hf Docker-inaria/Dockerollama:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Docker-inaria/Dockerollama:Q8_0 # Run inference directly in the terminal: llama cli -hf Docker-inaria/Dockerollama:Q8_0
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 Docker-inaria/Dockerollama:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf Docker-inaria/Dockerollama:Q8_0
Use Docker
docker model run hf.co/Docker-inaria/Dockerollama:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use Docker-inaria/Dockerollama with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Docker-inaria/Dockerollama" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Docker-inaria/Dockerollama", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Docker-inaria/Dockerollama:Q8_0
- SGLang
How to use Docker-inaria/Dockerollama with 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 "Docker-inaria/Dockerollama" \ --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": "Docker-inaria/Dockerollama", "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 "Docker-inaria/Dockerollama" \ --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": "Docker-inaria/Dockerollama", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Docker-inaria/Dockerollama with Ollama:
ollama run hf.co/Docker-inaria/Dockerollama:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use Docker-inaria/Dockerollama with Docker Model Runner:
docker model run hf.co/Docker-inaria/Dockerollama:Q8_0
- Lemonade
How to use Docker-inaria/Dockerollama with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Docker-inaria/Dockerollama:Q8_0
Run and chat with the model
lemonade run user.Dockerollama-Q8_0
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster400e2f3 -
(Trained with Unsloth)
Verified signature1a31fd3 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterf2e9ced -
(Trained with Unsloth)
Verified signature3c205dd -
(Trained with Unsloth)
Verified signature0c8da94 -
(Trained with Unsloth)
Verified signature4a58546 -
(Trained with Unsloth)
Verified signature4ec27f2 -
(Trained with Unsloth)
Verified signature246294a -
Unsloth Model Card
Verified signature0bd94de -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterac0e424 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster49dda84
-
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster8f1b307 -
(Trained with Unsloth)
Verified signaturef0ac023 -
(Trained with Unsloth)
Verified signature6bf41ae -
(Trained with Unsloth)
Verified signature9fc4fb9 -
(Trained with Unsloth)
Verified signaturefce3b3a -
(Trained with Unsloth)
Verified signature41a51c0 -
(Trained with Unsloth)
Verified signaturedd0533f -
Unsloth Model Card
Verified signature2b4f0f4 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster7ae6df7
-
Upload GGUF model for Ollama compatibility
Verified signatureca1d88f -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster1a49def -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster23c9a59 -
Upload README.md with huggingface_hub
Verified signature0ec1059 -
initial commit
Verified signature7d46e23