-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add load.log10(lamini) to support lamini sdk and add example
- Loading branch information
1 parent
ac2e177
commit 9847707
Showing
2 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import lamini | ||
|
||
from log10.load import log10 | ||
|
||
|
||
log10(lamini) | ||
|
||
llm = lamini.Lamini("meta-llama/Llama-2-7b-chat-hf") | ||
response = llm.generate("What's 2 + 9 * 3?") | ||
|
||
print(response) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters