update readme with docker setup and link to import.md

This commit is contained in:
Jeffrey Morgan
2023-10-15 02:23:03 -04:00
parent c416087339
commit f9b2f999ac
4 changed files with 38 additions and 11 deletions

View File

@@ -1,5 +1,21 @@
# FAQ
## How can I view the logs?
On macOS:
```
cat ~/.ollama/logs/server.log
```
On Linux:
```
journalctl -u ollama
```
If you're running `ollama serve` directly, the logs will be printed to the console.
## How can I expose the Ollama server?
```bash
@@ -14,5 +30,5 @@ OLLAMA_ORIGINS=http://192.168.1.1:*,https://example.com ollama serve
## Where are models stored?
* macOS: Raw model data is stored under `~/.ollama/models`.
* Linux: Raw model data is stored under `/usr/share/ollama/.ollama/models`
- macOS: Raw model data is stored under `~/.ollama/models`.
- Linux: Raw model data is stored under `/usr/share/ollama/.ollama/models`

View File

@@ -23,7 +23,7 @@ git clone https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1
cd Mistral-7B-Instruct-v0.1
```
### Step 2: Convert and quantize (PyTorch and Safetensors)
### Step 2: Convert and quantize (for PyTorch and Safetensors)
A [Docker image](https://hub.docker.com/r/ollama/quantize) with the tooling required to convert and quantize models is available.

View File

@@ -80,4 +80,3 @@ To view logs of Ollama running as a startup service, run:
```bash
journalctl -u ollama
```