Instructions to use laurent-maille/phi3-5-Word 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 laurent-maille/phi3-5-Word 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 laurent-maille/phi3-5-Word:Q4_K_M # Run inference directly in the terminal: llama cli -hf laurent-maille/phi3-5-Word:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf laurent-maille/phi3-5-Word:Q4_K_M # Run inference directly in the terminal: llama cli -hf laurent-maille/phi3-5-Word: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 laurent-maille/phi3-5-Word:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf laurent-maille/phi3-5-Word:Q4_K_M
Use Docker
docker model run hf.co/laurent-maille/phi3-5-Word:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use laurent-maille/phi3-5-Word with Ollama:
ollama run hf.co/laurent-maille/phi3-5-Word:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use laurent-maille/phi3-5-Word with Docker Model Runner:
docker model run hf.co/laurent-maille/phi3-5-Word:Q4_K_M
- Lemonade
How to use laurent-maille/phi3-5-Word with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull laurent-maille/phi3-5-Word:Q4_K_M
Run and chat with the model
lemonade run user.phi3-5-Word-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload tokenizer
Browse filesFiles changed (5)
- added_tokens.jsonAdded+13
- special_tokens_map.jsonAdded+30
- tokenizer.jsonAdded
- tokenizer.modelAdded+3
- tokenizer_config.jsonAdded+131
12345678910111213{ "<|assistant|>": 32001, "<|endoftext|>": 32000, "<|end|>": 32007, "<|placeholder1|>": 32002, "<|placeholder2|>": 32003, "<|placeholder3|>": 32004, "<|placeholder4|>": 32005, "<|placeholder5|>": 32008, "<|placeholder6|>": 32009, "<|system|>": 32006, "<|user|>": 32010}123456789101112131415161718192021222324252627282930{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|placeholder6|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false }, "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347size 499723123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131{ "add_bos_token": false, "add_eos_token": false, "add_prefix_space": null, "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": true, "single_word": false, "special": false }, "32000": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "32001": { "content": "<|assistant|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32002": { "content": "<|placeholder1|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32003": { "content": "<|placeholder2|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32004": { "content": "<|placeholder3|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32005": { "content": "<|placeholder4|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32006": { "content": "<|system|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32007": { "content": "<|end|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32008": { "content": "<|placeholder5|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32009": { "content": "<|placeholder6|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true }, "32010": { "content": "<|user|>", "lstrip": false, "normalized": false, "rstrip": true, "single_word": false, "special": true } }, "bos_token": "<s>", "chat_template": "{% if 'role' in messages[0] %}{% for message in messages %}{% if message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% else %}{{'<|' + message['role'] + '|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% endif %}{% else %}{% for message in messages %}{% if message['from'] == 'human' %}{{'<|user|>\n' + message['value'] + '<|end|>\n'}}{% elif message['from'] == 'gpt' %}{{'<|assistant|>\n' + message['value'] + '<|end|>\n'}}{% else %}{{'<|' + message['from'] + '|>\n' + message['value'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% endif %}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "<|endoftext|>", "legacy": false, "model_max_length": 131072, "pad_token": "<|placeholder6|>", "padding_side": "left", "sp_model_kwargs": {}, "tokenizer_class": "LlamaTokenizer", "unk_token": "<unk>", "use_default_system_prompt": false}added_tokens.jsonAdded+13
special_tokens_map.jsonAdded+30
tokenizer.jsonAdded
tokenizer.modelAdded+3
tokenizer_config.jsonAdded+131