Skip to content

Commit

Permalink
[examples][BuddyLlama] Change function name in llama-main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lester-1 committed Oct 25, 2023
1 parent 808c555 commit 6a6caec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/BuddyLlama/llama-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main() {
double buddyTokenizeTime =
(double)(buddyTokenizeEnd - buddyTokenizeStart) / CLOCKS_PER_SEC;
// Print the tokenized result
cout << "Get User input:" << pureStrContainer.revert(pureStrContainer)
cout << "Get User input:" << pureStrContainer.revertLlama(pureStrContainer)
<< endl;
cout << "[Buddy] Tokenize input time: " << buddyTokenizeTime * 1000 << "ms"
<< endl;
Expand Down Expand Up @@ -105,7 +105,7 @@ int main() {
clock_t buddyEnd = clock();
buddyReadTime = (double)(buddyEnd - buddyStart) / CLOCKS_PER_SEC;
// Print the result
cout << "[Buddy] Result: " << pureStrContainer.revert(pureStrContainer)
cout << "[Buddy] Result: " << pureStrContainer.revertLlama(pureStrContainer)
<< endl;
cout << "[Buddy] Llama exection time: " << buddyReadTime << "s" << endl;
return 0;
Expand Down

0 comments on commit 6a6caec

Please sign in to comment.