Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jdf-prog committed Apr 23, 2024
1 parent a38b61c commit b41193c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
7 changes: 6 additions & 1 deletion blender_usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"source": [
"# LLM-Blender Usage examples\n",
"\n",
"requirements to run the examples:\n",
"```bash\n",
"pip install -e .[example]\n",
"```\n",
"\n",
"## Loading blender (quick start)\n",
"You can find more custom configurations in \n",
"- PairRanker: [./llm_blender/pair_ranker/config.py](./llm_blender/pair_ranker/config.py)\n",
Expand Down Expand Up @@ -296,7 +301,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.9.19"
},
"orig_nbformat": 4
},
Expand Down
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,42 @@
url='https://yuchenlin.xyz/LLM-Blender/',
install_requires=[
'transformers',
'datasets',
'torch',
'numpy',
'accelerate',
'safetensors',
'dataclasses-json',
'sentencepiece',
'protobuf',
'scipy'
],
extras_require={
"example": [
'datasets',
'scipy',
'jupyter'
],
"train": [
'datasets',
'bitsandbytes',
'deepspeed',
'wandb',
],
"data": [
'datasets',
'openai',
'peft',
'fschat',
],
"eval": [
'datasets',
'pycocoevalcap',
'spacy',
'prettytable',
'BLEURT @ git+https://github.com/google-research/bleurt.git@cebe7e6f996b40910cfaa520a63db47807e3bf5c',
'evaluate',
'bert_score',
'tabulate',
'scipy',
'nltk',
'scikit-learn',
'sacrebleu',
Expand Down

0 comments on commit b41193c

Please sign in to comment.