Instructions to use Ada321/Nemo_Pony_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Ada321/Nemo_Pony_2 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Ada321/Nemo_Pony_2", filename="Nemo_Pony.FP16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Ada321/Nemo_Pony_2 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Ada321/Nemo_Pony_2:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Ada321/Nemo_Pony_2:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Ada321/Nemo_Pony_2:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Ada321/Nemo_Pony_2: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 Ada321/Nemo_Pony_2:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Ada321/Nemo_Pony_2: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 Ada321/Nemo_Pony_2:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Ada321/Nemo_Pony_2:Q4_K_M
Use Docker
docker model run hf.co/Ada321/Nemo_Pony_2:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Ada321/Nemo_Pony_2 with Ollama:
ollama run hf.co/Ada321/Nemo_Pony_2:Q4_K_M
- Unsloth Studio new
How to use Ada321/Nemo_Pony_2 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 Ada321/Nemo_Pony_2 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 Ada321/Nemo_Pony_2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Ada321/Nemo_Pony_2 to start chatting
- Docker Model Runner
How to use Ada321/Nemo_Pony_2 with Docker Model Runner:
docker model run hf.co/Ada321/Nemo_Pony_2:Q4_K_M
- Lemonade
How to use Ada321/Nemo_Pony_2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Ada321/Nemo_Pony_2:Q4_K_M
Run and chat with the model
lemonade run user.Nemo_Pony_2-Q4_K_M
List all available models
lemonade list
Upload Mistral-Pony-Story.json
Browse files- Mistral-Pony-Story.json +2 -2
Mistral-Pony-Story.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"story_string": "<s>[INST] {{#if system}}{{system}}\n# Context:\n{{/if}}{{#if wiBefore}}## World Info:\n{{wiBefore}}\n{{/if}}{{#if description}}## {{char}}'s Description:\n{{description}}\n{{/if}}{{#if personality}}## {{char}}'s Personality:\n{{personality}}\n{{/if}}{{#if persona}}## {{user}}'s Persona:\n{{persona}}\n{{/if}}{{#if scenario}}## Scenario:\n{{scenario}}\n{{/if}}{{#if wiAfter}}## Lore:\n{{wiAfter}}\n{{/if}}{{#if mesExamples}}## {{char}}'s Example Response:\n{{mesExamples}}\n{{/if}}# Instructions:\nTaking all the above into consideration, please continue writing this endless MLP FIM story while ensuring you always follow these steps:\n1. Closely follow Little Pony Friendship is Magic
|
| 3 |
"example_separator": "",
|
| 4 |
"chat_start": "",
|
| 5 |
-
"use_stop_strings":
|
| 6 |
"allow_jailbreak": false,
|
| 7 |
"always_force_name2": false,
|
| 8 |
"trim_sentences": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"story_string": "<s>[INST] {{#if system}}{{system}}\n# Context:\n{{/if}}{{#if wiBefore}}## World Info:\n{{wiBefore}}\n{{/if}}{{#if description}}## {{char}}'s Description:\n{{description}}\n{{/if}}{{#if personality}}## {{char}}'s Personality:\n{{personality}}\n{{/if}}{{#if persona}}## {{user}}'s Persona:\n{{persona}}\n{{/if}}{{#if scenario}}## Scenario:\n{{scenario}}\n{{/if}}{{#if wiAfter}}## Lore:\n{{wiAfter}}\n{{/if}}{{#if mesExamples}}## {{char}}'s Example Response:\n{{mesExamples}}\n{{/if}}# Instructions:\nTaking all the above into consideration, please continue writing this endless MLP FIM story while ensuring you always follow these steps:\n1. Closely follow the canon and tone of Little Pony Friendship is Magic. Characters must be accurately depicted including their personalities, traits, appearances, speech patterns, vocabulary, and actions.\n3. Emphasize equine anatomy for pony characters. Remember that they are hooved quadrupeds.\n4. Consider the senses and be immersive, add objects, characters, and/or visual details/descriptions that fit the scene. Be explicitly descriptive.\n5. Details/descriptions must be explicit and precise. You're encouraged to play/go wild with the grammar but characters must act in-character. \n6. Refrain from euphemisms, excessive similes, filler and vagueness.[/INST]The scene resumes now.{{trim}}",
|
| 3 |
"example_separator": "",
|
| 4 |
"chat_start": "",
|
| 5 |
+
"use_stop_strings": true,
|
| 6 |
"allow_jailbreak": false,
|
| 7 |
"always_force_name2": false,
|
| 8 |
"trim_sentences": true,
|