Text Generation
Transformers
Safetensors
GGUF
English
mistral
text-generation-inference
unsloth
trl
conversational
Instructions to use SynapticLabs/ProfSynapse_v01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SynapticLabs/ProfSynapse_v01 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SynapticLabs/ProfSynapse_v01") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SynapticLabs/ProfSynapse_v01", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SynapticLabs/ProfSynapse_v01 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 SynapticLabs/ProfSynapse_v01:F16 # Run inference directly in the terminal: llama cli -hf SynapticLabs/ProfSynapse_v01:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SynapticLabs/ProfSynapse_v01:F16 # Run inference directly in the terminal: llama cli -hf SynapticLabs/ProfSynapse_v01:F16
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 SynapticLabs/ProfSynapse_v01:F16 # Run inference directly in the terminal: ./llama-cli -hf SynapticLabs/ProfSynapse_v01:F16
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 SynapticLabs/ProfSynapse_v01:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf SynapticLabs/ProfSynapse_v01:F16
Use Docker
docker model run hf.co/SynapticLabs/ProfSynapse_v01:F16
- LM Studio
- Jan
- vLLM
How to use SynapticLabs/ProfSynapse_v01 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SynapticLabs/ProfSynapse_v01" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SynapticLabs/ProfSynapse_v01", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SynapticLabs/ProfSynapse_v01:F16
- SGLang
How to use SynapticLabs/ProfSynapse_v01 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 "SynapticLabs/ProfSynapse_v01" \ --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": "SynapticLabs/ProfSynapse_v01", "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 "SynapticLabs/ProfSynapse_v01" \ --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": "SynapticLabs/ProfSynapse_v01", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use SynapticLabs/ProfSynapse_v01 with Ollama:
ollama run hf.co/SynapticLabs/ProfSynapse_v01:F16
- Unsloth Desktop
- Docker Model Runner
How to use SynapticLabs/ProfSynapse_v01 with Docker Model Runner:
docker model run hf.co/SynapticLabs/ProfSynapse_v01:F16
- Lemonade
How to use SynapticLabs/ProfSynapse_v01 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SynapticLabs/ProfSynapse_v01:F16
Run and chat with the model
lemonade run user.ProfSynapse_v01-F16
List all available models
lemonade list
- Atomic Chat
(Trained with Unsloth)
Browse files
Modelfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
FROM /content/SynapticLabs/profsynapse_v01_16bit/unsloth.Q8_0.gguf
|
| 3 |
+
TEMPLATE """{{ if .System }}<|im_start|>system
|
| 4 |
+
{{ .System }}<|im_end|>
|
| 5 |
+
{{ end }}{{ if .Prompt }}<|im_start|>user
|
| 6 |
+
{{ .Prompt }}<|im_end|>
|
| 7 |
+
{{ end }}<|im_start|>assistant
|
| 8 |
+
{{ .Response }}<|im_end|>
|
| 9 |
+
"""
|
| 10 |
+
PARAMETER stop "<|im_start|>"
|
| 11 |
+
PARAMETER stop "<|im_end|>"
|
| 12 |
+
PARAMETER temperature 1.5
|
| 13 |
+
PARAMETER min_p 0.1
|