Skip to content
/ lmconfig Public

A repository for LM user preferences configuration

Notifications You must be signed in to change notification settings

Pent/lmconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

.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

About

A repository for LM user preferences configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published