Instructions to use nahcmon/My-First-Model 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 nahcmon/My-First-Model 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 nahcmon/My-First-Model # Run inference directly in the terminal: llama cli -hf nahcmon/My-First-Model
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nahcmon/My-First-Model # Run inference directly in the terminal: llama cli -hf nahcmon/My-First-Model
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 nahcmon/My-First-Model # Run inference directly in the terminal: ./build/bin/llama cli -hf nahcmon/My-First-Model
Use Docker
docker model run hf.co/nahcmon/My-First-Model
- Llama new
- LM Studio
- Jan
- Ollama
How to use nahcmon/My-First-Model with Ollama:
ollama run hf.co/nahcmon/My-First-Model
- Unsloth Desktop
- Docker Model Runner
How to use nahcmon/My-First-Model with Docker Model Runner:
docker model run hf.co/nahcmon/My-First-Model
- Lemonade
How to use nahcmon/My-First-Model with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nahcmon/My-First-Model
Run and chat with the model
lemonade run user.My-First-Model-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
File size: 641 Bytes
e2a3692 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"add_prefix_space": null,
"backend": "tokenizers",
"bos_token": "<s>",
"clean_up_tokenization_spaces": false,
"eos_token": "</s>",
"model_max_length": 512,
"pad_token": "<unk>",
"tokenizer_class": "LlamaTokenizer",
"unk_token": "<unk>",
"use_default_system_prompt": false,
"bos_token_id": 1,
"eos_token_id": 2,
"unk_token_id": 0,
"pad_token_id": 0,
"add_bos_token": true,
"add_eos_token": false,
"chat_template": "{% for message in messages %}{{ message['role'] + ': ' + message['content'] + '\\n' }}{% endfor %}{% if add_generation_prompt %}assistant: {% endif %}",
"legacy": false
} |