Skip to content

Commit

Permalink
hotifx download phi3 llava and moondream
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckyBlender committed May 26, 2024
1 parent ec016f9 commit 8dd5eac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ edition = "2021"
[dependencies]
teloxide = { git = "https://github.com/teloxide/teloxide", features = [
"macros",

] } # we need some features from the master branch
log = "^0.4"
pretty_env_logger = "^0.5"
Expand All @@ -23,6 +22,6 @@ enum-iterator = "2.1"
ollama-rs = { version = "0.1.9", features = ["stream"] }
tokio-stream = "0.1.15"
image = "0.25.1"
aws-config = { version = "1.3", features = ["behavior-version-latest"] }
aws-sdk-bedrockruntime = "1.24"
aws-config = { version = "1.5", features = ["behavior-version-latest"] }
aws-sdk-bedrockruntime = "1.29"
# indicatif = "0.17.8"
2 changes: 1 addition & 1 deletion src/commands/ollama.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub async fn ollama(
}
if model == ModelType::Emojify {
request = request.system(
"You are an Emojify bot. Convert the text entirely to emojis. Don't add any text."
"You are an Emojify bot. Convert the text entirely to emojis. Don't add any text. Don't add any disclaimers. Just emoji representation of the text."
.to_string(),
);
}
Expand Down
4 changes: 3 additions & 1 deletion src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ impl ModelType {
ModelType::BawialniaGPT,
ModelType::PolishLobotomy,
ModelType::Aya,
ModelType::Emojify
ModelType::Emojify,
ModelType::Phi3Llava,
ModelType::Moondream,
]
}

Expand Down

0 comments on commit 8dd5eac

Please sign in to comment.