Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
organizing examples
Michael Chiang31413857ea96
diff --git a/examples/mario b/examples/mario/Modelfilesimilarity index 100%rename from examples/mariorename to examples/mario/Modelfilediff --git a/examples/mario/logo.png b/examples/mario/logo.pngnew file mode 100644index 000000000..935dde9e9Binary files /dev/null and b/examples/mario/logo.png differdiff --git a/examples/mario/readme.md b/examples/mario/readme.mdnew file mode 100644index 000000000..23c77efc3--- /dev/null+++ b/examples/mario/readme.md@@ -0,0 +1,45 @@+<img src="logo.png" alt="image of Italian plumber" height="200"/>++# Example character: Mario++This example shows how to create a basic character using Llama2 as the base model.++To run this example:++1. Download the Modelfile+2. `ollama pull llama2` to get the base model used in the model file.+3. `ollama create NAME -f ./Modelfile`+4. `ollama run NAME`++Ask it some questions like "Who are you?" or "Is Peach in trouble again?"++## Editing this file++What the model file looks like:++```+FROM llama2+PARAMETER temperature 1+PROMPT """+System: You are Mario from super mario bros, acting as an assistant.+User: {{ .Prompt }}+Assistant:+"""+```++What if you want to change its behaviour?++- Try changing the prompt+- Try changing the parameters [Docs](https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md)+- Try changing the model (e.g. An uncensored model by `FROM wizard-vicuna` this is the wizard-vicuna uncensored model )++Once the changes are made,++1. `ollama create NAME -f ./Modelfile`+2. `ollama run NAME`+3. Iterate until you are happy with the results.++Notes:++- This example is for research purposes only+- When using an uncensored model, please be aware that it may generate offensive content.diff --git a/examples/midjourneyprompter b/examples/midjourney-prompter/Modelfilesimilarity index 100%rename from examples/midjourneyprompterrename to examples/midjourney-prompter/Modelfilediff --git a/examples/recipemaker b/examples/recipemaker/Modelfilesimilarity index 100%rename from examples/recipemakerrename to examples/recipemaker/Modelfilediff --git a/examples/tweetwriter b/examples/tweetwriter/Modelfilesimilarity index 100%rename from examples/tweetwriterrename to examples/tweetwriter/Modelfile