MohamedRashad/ChatGPT-prompts
Viewer โข Updated โข 360 โข 139 โข 42
How to use DevrimAI/DAI-1 with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("DevrimAI/DAI-1", device_map="auto")How to use DevrimAI/DAI-1 with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf DevrimAI/DAI-1 # Run inference directly in the terminal: llama cli -hf DevrimAI/DAI-1
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DevrimAI/DAI-1 # Run inference directly in the terminal: llama cli -hf DevrimAI/DAI-1
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 DevrimAI/DAI-1 # Run inference directly in the terminal: ./build/bin/llama cli -hf DevrimAI/DAI-1
docker model run hf.co/DevrimAI/DAI-1
How to use DevrimAI/DAI-1 with Ollama:
ollama run hf.co/DevrimAI/DAI-1
How to use DevrimAI/DAI-1 with Docker Model Runner:
docker model run hf.co/DevrimAI/DAI-1
How to use DevrimAI/DAI-1 with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DevrimAI/DAI-1
lemonade run user.DAI-1-{{QUANT_TAG}}lemonade list
We're not able to determine the quantization variants.