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
Download config.json from nahcmon/My-First-Model: direct link, hf CLI and curl.
- Browser
- Download file 775 Bytes
-
https://huggingface.co/nahcmon/My-First-Model/resolve/main/config.json
- Command line
-
hf download hf://nahcmon/My-First-Model/config.json
-
curl -L -o config.json https://huggingface.co/nahcmon/My-First-Model/resolve/main/config.json
775 Bytes
| { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "dtype": "float32", | |
| "eos_token_id": 2, | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_size": 704, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 2816, | |
| "max_position_embeddings": 512, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 11, | |
| "num_hidden_layers": 26, | |
| "num_key_value_heads": 11, | |
| "pad_token_id": 0, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_parameters": { | |
| "rope_theta": 10000.0, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.0.0", | |
| "unk_token_id": 0, | |
| "use_cache": false, | |
| "vocab_size": 10000 | |
| } | |