Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 947 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 947 Bytes

.lmconfig File

The .lmconfig file is a configuration file used to set user preferences and defaults for working with language models (LMs). It allows users to customize various parameters to control the behavior and output of the models on the system.

Example .lmconfig File

# .lmconfig - Configuration file for LLM user preferences

# Controls the randomness of the model's output
temperature=0.5

# Default prompt for instructing the model
instruct_prompt="Please provide a summary of the following text:"

# Default context to provide to the model
context="The context of this conversation is about AI and machine learning."

# Maximum number of tokens to generate
max_tokens=150

# Controls the diversity of the model's output
top_p=0.9

# Penalizes new tokens based on their existing frequency in the text
frequency_penalty=0.5

# Penalizes new tokens based on whether they appear in the text so far
presence_penalty=0.6