Text Generation
Transformers
GGUF
English
Phi-3
text-generation-inference
unsloth
reasoning
conversational
Instructions to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Pinkstack/PARM-Phi-3.5-mini-o1-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Pinkstack/PARM-Phi-3.5-mini-o1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF 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 Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Pinkstack/PARM-Phi-3.5-mini-o1-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Pinkstack/PARM-Phi-3.5-mini-o1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
- SGLang
How to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Pinkstack/PARM-Phi-3.5-mini-o1-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Pinkstack/PARM-Phi-3.5-mini-o1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Pinkstack/PARM-Phi-3.5-mini-o1-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Pinkstack/PARM-Phi-3.5-mini-o1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF with Ollama:
ollama run hf.co/Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF with Docker Model Runner:
docker model run hf.co/Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
- Lemonade
How to use Pinkstack/PARM-Phi-3.5-mini-o1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Pinkstack/PARM-Phi-3.5-mini-o1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.PARM-Phi-3.5-mini-o1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,9 +6,11 @@ tags:
|
|
| 6 |
- unsloth
|
| 7 |
- llama
|
| 8 |
- gguf
|
|
|
|
| 9 |
license: apache-2.0
|
| 10 |
language:
|
| 11 |
- en
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Uploaded model
|
|
@@ -19,4 +21,4 @@ language:
|
|
| 19 |
|
| 20 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
|
| 22 |
-
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 6 |
- unsloth
|
| 7 |
- llama
|
| 8 |
- gguf
|
| 9 |
+
- reasoning
|
| 10 |
license: apache-2.0
|
| 11 |
language:
|
| 12 |
- en
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
---
|
| 15 |
|
| 16 |
# Uploaded model
|
|
|
|
| 21 |
|
| 22 |
This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 23 |
|
| 24 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|