Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions docs/docs/specs/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,25 @@ Here's a standard example `model.json` for a GGUF model.
"n_parallel": "4",
},
"parameters": { // Models are called parameters
"stream": "true",
"model": "gpt-3.5-turbo",
"max_tokens": "2048",
"stop": ["<endofstring>"], // This usually can be left blank, only used with specific need from model author
"frequency_penalty": "0",
"presence_penalty": "0",
"temperature": "0.7",
"token_limit": "2048",
"top_k": "0",
"top_p": "1",
"stream": "true"
"top_p": "0.95"
},
"metadata": {}, // Defaults to {}
"assets": [ // Defaults to current dir
"file://.../zephyr-7b-q4_k_m.bin",
]
```

The model settings in the example can be found at: (Nitro's model settings)[https://nitro.jan.ai/features/load-unload#table-of-parameters]

The model paramemters in the example can be found at: (Nitro's model parameters)[https://nitro.jan.ai/api-reference#tag/Chat-Completion]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Mispelled parameters
  2. URL formatting is wrong, shouldn't it be , not ()[]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @0xSage i have fixed the link issue, but what you mean by parameters

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm saw the issue


## API Reference

Jan's Model API is compatible with [OpenAI's Models API](https://platform.openai.com/docs/api-reference/models), with additional methods for managing and running models locally.
Expand Down