Skip to content

Commit

Permalink
ollama setup files
Browse files Browse the repository at this point in the history
  • Loading branch information
henrii1 committed Mar 11, 2024
1 parent c56647a commit 1204796
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
13 changes: 13 additions & 0 deletions setup/LLama2Modelfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM llama2

# Set parementers

PARAMETER temperature 0.3
PARAMETER stop Result

# Sets a custom system message to specify the behavior of
# the chat assistant

# Leaving it blank for now.

SYSTEM """You are an expert is the required domain"""
Empty file added setup/LLama_crewai_model.sh
Empty file.
13 changes: 13 additions & 0 deletions setup/MistralModelfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM mistral

# Set parementers

PARAMETER temperature 0.3
PARAMETER stop Result

# Sets a custom system message to specify the behavior of
# the chat assistant

# Leaving it blank for now.

SYSTEM """You are an expert is the required domain"""
11 changes: 11 additions & 0 deletions setup/Mistral_crewai_model.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# Variables
model_name="mistral"
custom_model_name="crewai-mistral"

# Get the base model
ollama pull $model_name

# Create the model file
ollama create $custom_model_name -f ./MistralModelfile

0 comments on commit 1204796

Please sign in to comment.