From 6041abb5b2c1f684d1f6e27302d730d807e73565 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Thu, 7 Mar 2024 10:40:32 -0800 Subject: [PATCH] remove empty examples --- examples/modelfile-tweetwriter/readme.md | 23 ----------------------- examples/python-chat-app/README.md | 21 --------------------- 2 files changed, 44 deletions(-) delete mode 100644 examples/modelfile-tweetwriter/readme.md delete mode 100644 examples/python-chat-app/README.md diff --git a/examples/modelfile-tweetwriter/readme.md b/examples/modelfile-tweetwriter/readme.md deleted file mode 100644 index 51111259..00000000 --- a/examples/modelfile-tweetwriter/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# Example Modelfile - Tweetwriter - -This simple examples shows what you can do without any code, simply relying on a Modelfile. The file has two instructions: - -1. FROM - The From instructions defines the parent model to use for this one. If you choose a model from the library, you can enter just the model name. For all other models, you need to specify the namespace as well. You could also use a local file. Just include the relative path to the converted, quantized model weights file. To learn more about creating that file, see the `import.md` file in the docs folder of this repository. -2. SYSTEM - This defines the system prompt for the model and overrides the system prompt from the parent model. - -## Running the Example - -1. Create the model: - - ```bash - ollama create tweetwriter - ``` - -2. Enter a topic to generate a tweet about. -3. Show the Modelfile in the REPL. - - ```bash - /show modelfile - ``` - - Notice that the FROM and SYSTEM match what was in the file. But there is also a TEMPLATE and PARAMETER. These are inherited from the parent model. \ No newline at end of file diff --git a/examples/python-chat-app/README.md b/examples/python-chat-app/README.md deleted file mode 100644 index 340c7a2f..00000000 --- a/examples/python-chat-app/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Ollama Chat App - -Build a Llama2 chat app using Streamlit and Ollama. - -## Running the Example - -1. Ensure you have the `llama2` model installed: - - ```bash - ollama pull llama2 - ``` -2. Install the Python Requirements. - - ```bash - pip install -r requirements.txt - ``` -3. Run the example: - - ```bash - python main.py - ```