Class: LlamaDeuce
Llama2 LLM implementation
Hierarchy
-
BaseLLM
↳
LlamaDeuce
Constructors
constructor
• new LlamaDeuce(init?
): LlamaDeuce
Parameters
Name | Type |
---|---|
init? | Partial <LlamaDeuce > |
Returns
Overrides
BaseLLM.constructor
Defined in
packages/core/src/llm/LLM.ts:407
Properties
chatStrategy
• chatStrategy: DeuceChatStrategy
Defined in
packages/core/src/llm/LLM.ts:401
maxTokens
• Optional
maxTokens: number
Defined in
packages/core/src/llm/LLM.ts:404
model
• model: "Llama-2-70b-chat-old"
| "Llama-2-70b-chat-4bit"
| "Llama-2-13b-chat-old"
| "Llama-2-13b-chat-4bit"
| "Llama-2-7b-chat-old"
| "Llama-2-7b-chat-4bit"
Defined in
packages/core/src/llm/LLM.ts:400
replicateSession
• replicateSession: ReplicateSession
Defined in
packages/core/src/llm/LLM.ts:405
temperature
• temperature: number
Defined in
packages/core/src/llm/LLM.ts:402
topP
• topP: number
Defined in
packages/core/src/llm/LLM.ts:403
Accessors
metadata
• get
metadata(): Object