Instructions to use robertmccourt/endoscopy 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 robertmccourt/endoscopy 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 robertmccourt/endoscopy:Q4_0 # Run inference directly in the terminal: llama cli -hf robertmccourt/endoscopy:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf robertmccourt/endoscopy:Q4_0 # Run inference directly in the terminal: llama cli -hf robertmccourt/endoscopy:Q4_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 robertmccourt/endoscopy:Q4_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf robertmccourt/endoscopy:Q4_0
Use Docker
docker model run hf.co/robertmccourt/endoscopy:Q4_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use robertmccourt/endoscopy with Ollama:
ollama run hf.co/robertmccourt/endoscopy:Q4_0
- Unsloth Desktop
- Docker Model Runner
How to use robertmccourt/endoscopy with Docker Model Runner:
docker model run hf.co/robertmccourt/endoscopy:Q4_0
- Lemonade
How to use robertmccourt/endoscopy with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull robertmccourt/endoscopy:Q4_0
Run and chat with the model
lemonade run user.endoscopy-Q4_0
List all available models
lemonade list
- Atomic Chat
Download tokenizer_config.json from robertmccourt/endoscopy: direct link, hf CLI and curl.
- Browser
- Download file 1.46 kB
-
https://huggingface.co/robertmccourt/endoscopy/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://robertmccourt/endoscopy/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/robertmccourt/endoscopy/resolve/main/tokenizer_config.json
1.46 kB
| { | |
| "add_bos_token": true, | |
| "add_eos_token": false, | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [], | |
| "bos_token": "<s>", | |
| "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "</s>", | |
| "legacy": true, | |
| "model_max_length": 2048, | |
| "pad_token": "<unk>", | |
| "padding_side": "right", | |
| "sp_model_kwargs": {}, | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "LlamaTokenizer", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": false | |
| } | |