Instructions to use Sweaterdog/GRaPE-Mini-Beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Sweaterdog/GRaPE-Mini-Beta with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Sweaterdog/GRaPE-Mini-Beta", filename="GRaPE-Mini-Beta-10%.F16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Sweaterdog/GRaPE-Mini-Beta with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Sweaterdog/GRaPE-Mini-Beta:F16 # Run inference directly in the terminal: llama-cli -hf Sweaterdog/GRaPE-Mini-Beta:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Sweaterdog/GRaPE-Mini-Beta:F16 # Run inference directly in the terminal: llama-cli -hf Sweaterdog/GRaPE-Mini-Beta: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 Sweaterdog/GRaPE-Mini-Beta:F16 # Run inference directly in the terminal: ./llama-cli -hf Sweaterdog/GRaPE-Mini-Beta: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 Sweaterdog/GRaPE-Mini-Beta:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Sweaterdog/GRaPE-Mini-Beta:F16
Use Docker
docker model run hf.co/Sweaterdog/GRaPE-Mini-Beta:F16
- LM Studio
- Jan
- vLLM
How to use Sweaterdog/GRaPE-Mini-Beta with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Sweaterdog/GRaPE-Mini-Beta" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sweaterdog/GRaPE-Mini-Beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Sweaterdog/GRaPE-Mini-Beta:F16
- Ollama
How to use Sweaterdog/GRaPE-Mini-Beta with Ollama:
ollama run hf.co/Sweaterdog/GRaPE-Mini-Beta:F16
- Unsloth Studio new
How to use Sweaterdog/GRaPE-Mini-Beta 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 Sweaterdog/GRaPE-Mini-Beta 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 Sweaterdog/GRaPE-Mini-Beta to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Sweaterdog/GRaPE-Mini-Beta to start chatting
- Docker Model Runner
How to use Sweaterdog/GRaPE-Mini-Beta with Docker Model Runner:
docker model run hf.co/Sweaterdog/GRaPE-Mini-Beta:F16
- Lemonade
How to use Sweaterdog/GRaPE-Mini-Beta with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Sweaterdog/GRaPE-Mini-Beta:F16
Run and chat with the model
lemonade run user.GRaPE-Mini-Beta-F16
List all available models
lemonade list
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>GRaPE Mini Beta</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #f2f2f2; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 20 20; | |
| } | |
| .header { | |
| background-color: #333; | |
| color: #fff; | |
| padding: 10 20; | |
| text-align: center; | |
| } | |
| .header h1 { | |
| font-size: 36px; | |
| margin: 0; | |
| } | |
| .header p { | |
| font-size: 18px; | |
| margin: 0; | |
| } | |
| .content { | |
| padding: 20 20; | |
| } | |
| .content h2 { | |
| font-size: 24px; | |
| margin: 0; | |
| } | |
| .content p { | |
| font-size: 16px; | |
| margin: 0; | |
| } | |
| .testimonials { | |
| margin: 20 0; | |
| } | |
| .testimonials h2 { | |
| font-size: 24px; | |
| margin: 0; | |
| } | |
| .testimonials p { | |
| font-size: 16px; | |
| margin: 0; | |
| } | |
| .about { | |
| margin: 20 0; | |
| } | |
| .about h2 { | |
| font-size: 24px; | |
| margin: 0; | |
| } | |
| .about p { | |
| font-size: 16px; | |
| margin: 0; | |
| } | |
| .contact { | |
| margin: 20 0; | |
| } | |
| .contact h2 { | |
| font-size: 24px; | |
| margin: 0; | |
| } | |
| .contact p { | |
| font-size: 16px; | |
| margin: 0; | |
| } | |
| .footer { | |
| background-color: #333; | |
| color: #fff; | |
| padding: 20 20; | |
| text-align: center; | |
| } | |
| .footer p { | |
| font-size: 14px; | |
| margin: 0; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="header"> | |
| <h1>GRaPE Mini Beta</h1> | |
| <p>AI Assistant for Your Needs</p> | |
| </div> | |
| <div class="content"> | |
| <h2>How to Use You</h2> | |
| <p>GRaPE Mini Beta is an AI-powered assistant designed to to help you with your daily tasks. Here's how you can use it:</p> | |
| <ul> | |
| <li>Ask your questions or request information.</li> | |
| <li>Receive answers or suggestions.</li> | |
| <li>Get personalized recommendations.</li> | |
| <li>Stay up-to-date with the latest news and trends.</li> | |
| </ul> | |
| </div> | |
| <div class="testimonials"> | |
| <h2>Testimonials</h2> | |
| <div class="testimonial"> | |
| <img src="https://via.placeholder.com/150x150" alt="Testimonial Image"> | |
| <p>"I've been using GRaPE Mini Beta for a few weeks now, and I can't believe how much it has helped me with my daily tasks. It's like having a personal assistant right at my fingertips!"</p> | |
| <p>- John Doe, User</p> | |
| </div> | |
| <div class="testimonial"> | |
| <img src="https://via.placeholder.com/150x150" alt="Testimonial Image"> | |
| <p>"I've been using GRaPE Mini Beta for a few weeks now, and I can't believe how much it has helped me with my daily tasks. It's like having a personal assistant right at my fingertips!"</p> | |
| <p>- Jane Smith, User</p> | |
| </div> | |
| </div> | |
| <div class="about"> | |
| <h2>About</h2> | |
| <p>GRaPE Mini Beta is an AI-powered assistant designed to help you with your daily tasks. It's a simple and easy-to-use tool that can help you with a wide range of tasks, from answering questions to providing personalized recommendations. With GRaPE Mini Beta, you can stay up-to-date with the latest news and trends, and get personalized recommendations based on your interests.</p> | |
| </div> | |
| <div class="contact"> | |
| <h2>Contact</h2> | |
| <p>If you have any questions or feedback, please feel free to contact us at:</p> | |
| <p>info@grape-mini-beta.com</p> | |
| <p>Or you can reach us on:</p> | |
| <p>Phone: +1 (123) 456-7890</p> | |
| <p>Email: support@grape-mini-beta.com</p> | |
| </div> | |
| <div class="footer"> | |
| <p>© 2023 GRaPE Mini Beta</p> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |