This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Commit simplifying changes * Commit simplifying changes * Commit simplifying changes * Commit simplifying changes * Add back openai interface * revive select providers * cleanup sciphi-vllm-openai interlacing * prep * tweaks * nit * cleanup further * check in progress * revive data augmenter * more fixes
- Loading branch information
1 parent
5362d3c
commit 68d3579
Showing
34 changed files
with
613 additions
and
889 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,8 +1,10 @@ | ||
# LLM Providers | ||
OPENAI_API_KEY=your_openai_key | ||
ANTHROPIC_API_KEY=your_anthropic_key | ||
VLLM_API_KEY=your_vllm_token | ||
## Fill where necessary. | ||
OPENAI_API_KEY=your_openai_api_key | ||
ANTHROPIC_API_KEY=your_anthropic_api_key | ||
HF_TOKEN=your_huggingface_token | ||
SCIPHI_API_KEY=your_sciphi_api_key | ||
VLLM_API_KEY=your_vllm_api_key | ||
# RAG Setttings | ||
RAG_API_BASE=your_rag_server_base_url | ||
RAG_API_BASE=your_rag_api_base_url | ||
RAG_API_KEY=your_rag_server_key |
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,3 +1,3 @@ | ||
[flake8] | ||
exclude = playground/*,sciphi/deprecated/** | ||
exclude = playground/*,sciphi/deprecated/**,dump/* | ||
ignore = E501, W503, E203, F541, W293, W291, E266 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ write_to = "sciphi/_version.py" | |
|
||
[tool.poetry] | ||
name = "sciphi" | ||
version = "0.1.5" | ||
version = "0.1.6" | ||
description = "SciPhi: A Framework for LLM Powered Data." | ||
authors = ["Owen Colegrove <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -37,20 +37,13 @@ anthropic = { version = "^0.3.10", optional = true } | |
accelerate = { version = "^0.23.0", optional = true } | ||
datasets = { version = "^2.14.5", optional = true } | ||
transformers = { version = "^4.33.1", optional = true } | ||
# llama-cpp | ||
llama-cpp-python = { version = "^0.2.11", optional = true } | ||
# llama-index | ||
llama-index = { version = "^0.8.29.post1", optional = true } | ||
# vllm | ||
# accelerate = { version = "^0.23.0", optional = true } ## Defined above in 'hf' | ||
vllm = { version = "0.2.0", optional = true } | ||
blingfire = "^0.1.8" | ||
|
||
[tool.poetry.extras] | ||
anthropic_support = ["anthropic"] | ||
hf_support = ["accelerate", "datasets", "torch", "transformers"] | ||
llama_cpp_support = ["llama-cpp-python"] | ||
llama_index_support = ["llama-index"] | ||
vllm_support = ["accelerate", "torch", "vllm"] | ||
|
||
all = [ | ||
|
@@ -72,8 +65,6 @@ all_with_extras = [ | |
"torch", | ||
"transformers", | ||
# More Extras | ||
"llama-index", | ||
"llama-cpp-python", | ||
"vllm", | ||
] | ||
# To export dependencies to pip, use: | ||
|
3 changes: 3 additions & 0 deletions
3
sciphi/config/generation_settings/textbook_generation_settings.yaml
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.