-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: remove sophon as default in 0_6_5 * feat: comment sophon doc in README * feat: comment sophon workflow
- Loading branch information
1 parent
fe163ef
commit fa2a7d5
Showing
5 changed files
with
91 additions
and
64 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 |
---|---|---|
@@ -1,31 +1,31 @@ | ||
name: sophon reasoning | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
reasoning: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
components: clippy | ||
override: true | ||
|
||
- name: Repl | ||
run: | | ||
cargo build --features="repl" --release | ||
- name: LLama | ||
run: | | ||
./target/release/3body -V | ||
git clone https://huggingface.co/huantian2415/vicuna-13b-chinese-4bit-ggml | ||
./target/release/3body -c 'let 智子 = fn () { let instance = 智子工程({ "type": "llama", "path": "./vicuna-13b-chinese-4bit-ggml/Vicuna-13B-chinese.bin", "prompt": "你是三体文明的智子" }); return { "回答": fn (问题) { instance.infer(instance, 问题) } } }(); 智子.回答("中国最佳科幻小说是哪个")' | ||
#name: sophon reasoning | ||
# | ||
#on: | ||
# push: | ||
# branches: | ||
## - '*' | ||
# pull_request: | ||
# branches: | ||
## - main | ||
# | ||
#jobs: | ||
# reasoning: | ||
# runs-on: ubuntu-latest | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions-rs/toolchain@v1 | ||
# with: | ||
# toolchain: stable | ||
# components: clippy | ||
# override: true | ||
# | ||
# - name: Repl | ||
# run: | | ||
# cargo build --features="repl" --release | ||
# | ||
# - name: LLama | ||
# run: | | ||
# ./target/release/3body -V | ||
# git clone https://huggingface.co/huantian2415/vicuna-13b-chinese-4bit-ggml | ||
# ./target/release/3body -c 'let 智子 = fn () { let instance = 智子工程({ "type": "llama", "path": "./vicuna-13b-chinese-4bit-ggml/Vicuna-13B-chinese.bin", "prompt": "你是三体文明的智子" }); return { "回答": fn (问题) { instance.infer(instance, 问题) } } }(); 智子.回答("中国最佳科幻小说是哪个")' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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