PEFT
Safetensors
GGUF
English
medical
clinical-notes
patient-communication
lora
medgemma
conversational
Instructions to use dejori/note-explain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dejori/note-explain with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use dejori/note-explain 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 dejori/note-explain:Q4_K_M # Run inference directly in the terminal: llama cli -hf dejori/note-explain:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dejori/note-explain:Q4_K_M # Run inference directly in the terminal: llama cli -hf dejori/note-explain:Q4_K_M
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 dejori/note-explain:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf dejori/note-explain:Q4_K_M
Use Docker
docker model run hf.co/dejori/note-explain:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use dejori/note-explain with Ollama:
ollama run hf.co/dejori/note-explain:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use dejori/note-explain with Docker Model Runner:
docker model run hf.co/dejori/note-explain:Q4_K_M
- Lemonade
How to use dejori/note-explain with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dejori/note-explain:Q4_K_M
Run and chat with the model
lemonade run user.note-explain-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload gemma-2b-dpo/chat_template.jinja with huggingface_hub
Browse files
gemma-2b-dpo/chat_template.jinja
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% 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'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '
|
| 2 |
+
' + message['content'] | trim + '<end_of_turn>
|
| 3 |
+
' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model
|
| 4 |
+
'}}{% endif %}
|