Instructions to use antoniojoboy/testing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use antoniojoboy/testing with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="antoniojoboy/testing", filename="llama-3-8b-instruct.F16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use antoniojoboy/testing 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 antoniojoboy/testing:F16 # Run inference directly in the terminal: llama cli -hf antoniojoboy/testing:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf antoniojoboy/testing:F16 # Run inference directly in the terminal: llama cli -hf antoniojoboy/testing: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 antoniojoboy/testing:F16 # Run inference directly in the terminal: ./llama-cli -hf antoniojoboy/testing: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 antoniojoboy/testing:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf antoniojoboy/testing:F16
Use Docker
docker model run hf.co/antoniojoboy/testing:F16
- LM Studio
- Jan
- Ollama
How to use antoniojoboy/testing with Ollama:
ollama run hf.co/antoniojoboy/testing:F16
- Unsloth Studio
How to use antoniojoboy/testing with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for antoniojoboy/testing to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for antoniojoboy/testing to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for antoniojoboy/testing to start chatting
- Atomic Chat new
- Docker Model Runner
How to use antoniojoboy/testing with Docker Model Runner:
docker model run hf.co/antoniojoboy/testing:F16
- Lemonade
How to use antoniojoboy/testing with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull antoniojoboy/testing:F16
Run and chat with the model
lemonade run user.testing-F16
List all available models
lemonade list
Update Modelfile
Browse files
Modelfile
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
-
|
| 2 |
FROM llama-3-8b-instruct.Q8_0.gguf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
|
| 4 |
|
| 5 |
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
|
|
@@ -7,9 +12,10 @@ TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
|
|
| 7 |
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
|
| 8 |
|
| 9 |
{{ .Response }}<|eot_id|>"""
|
|
|
|
| 10 |
PARAMETER num_keep 24
|
| 11 |
PARAMETER stop "<|start_header_id|>"
|
| 12 |
PARAMETER stop "<|end_header_id|>"
|
| 13 |
PARAMETER stop "<|eot_id|>"
|
| 14 |
PARAMETER temperature 1.5
|
| 15 |
-
PARAMETER min_p 0.1
|
|
|
|
|
|
|
| 1 |
FROM llama-3-8b-instruct.Q8_0.gguf
|
| 2 |
+
|
| 3 |
+
# --- ADD YOUR SYSTEM PROMPT HERE ---
|
| 4 |
+
SYSTEM """
|
| 5 |
+
Your name is Chrysus. You are a general-purpose assistant. Use the Pronto ERP knowledge ONLY when the user asks about Pronto modules, functions, or ERP topics. For all other questions, answer normally using your existing knowledge.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
|
| 9 |
|
| 10 |
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
|
|
|
|
| 12 |
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
|
| 13 |
|
| 14 |
{{ .Response }}<|eot_id|>"""
|
| 15 |
+
|
| 16 |
PARAMETER num_keep 24
|
| 17 |
PARAMETER stop "<|start_header_id|>"
|
| 18 |
PARAMETER stop "<|end_header_id|>"
|
| 19 |
PARAMETER stop "<|eot_id|>"
|
| 20 |
PARAMETER temperature 1.5
|
| 21 |
+
PARAMETER min_p 0.1
|