Views
No views yet
1./llama-cli -m Phi-3.5-mini-instruct-LiteRT_Q4_K_M.gguf \
2 -n 512 --temp 0.7 -p "<|system|>You are a helpful assistant.<|end|><|user|>".task bundle using MediaPipe LLM conversion tools.1from llama_cpp import Llama
2
3llm = Llama(
4 model_path="Phi-3.5-mini-instruct-LiteRT_Q4_K_M.gguf",
5 n_ctx=4096,
6 n_threads=4,
7 verbose=False,
8)
9
10response = llm.create_chat_completion(
11 messages=[
12 {"role": "system", "content": "You are a helpful assistant."},
13 {"role": "user", "content": "What is the derivative of sin(x²)?"},
14 ]
15)
16print(response["choices"][0]["message"]["content"])ollama run hf.co/DuoNeural/Phi-3.5-mini-instruct-LiteRT| Metric | Value |
|---|---|
| Quantization | Q4_K_M |
| RAM required | ~3 GB (with context) |
| Recommended devices | 6GB+ RAM phones, laptops |
| Quantization loss | Minimal — Phi-3.5 is robust to 4-bit quantization |
| Platform | Link |
|---|---|
| HuggingFace | huggingface.co/DuoNeural |
| Website | duoneural.com |
| GitHub | github.com/DuoNeural |
| X / Twitter | @DuoNeural |
| duoneural@proton.me | |
| Newsletter | duoneural.beehiiv.com |
| Support | buymeacoffee.com/duoneural |