clinicalml / co-llm Goto Github PK
View Code? Open in Web Editor NEWCo-LLM: Learning to Decode Collaboratively with Multiple Language Models
Home Page: https://arxiv.org/abs/2403.03870
Co-LLM: Learning to Decode Collaboratively with Multiple Language Models
Home Page: https://arxiv.org/abs/2403.03870
Hi, all! Thank you for your contribution. I am interested in your work.
I try to run your code. When I execute process_dataset.sh
. I seem to find this file missing: python: can't open file 'open_instruct/process_dataset.py
.
Looking for your help. Thanks~
Hi,
I recently read your work in detail and found the idea of combining large language models with learning to defer to be quite creative. However, I have a few questions that I would like to discuss with you.
Hi, when I install packages via "pip install -r requirements.txt", it gives the following error. It seems caused by package dependency conflicts. When I try to install these packages one by one, it still suffers from the version conflicts. I notice that some packages lack the specific version, such as datasets, huggingface-hub. Could you give the specific version of all packages rather than >= or no version? Thank you so much!
Collecting git+https://github.com/yizhongw/transformers.git@left_padding (from -r requirements_new.txt (line 14))
Cloning https://github.com/yizhongw/transformers.git (to revision left_padding) to /tmp/pip-req-build-6epb5ow_
Running command git clone --filter=blob:none --quiet https://github.com/yizhongw/transformers.git /tmp/pip-req-build-6epb5ow_
Running command git checkout -b left_padding --track origin/left_padding
Switched to a new branch 'left_padding'
Branch 'left_padding' set up to track remote branch 'left_padding' from 'origin'.
Resolved https://github.com/yizhongw/transformers.git to commit fb2b3302c67915c40a2b4fb6711b7b5c5a8bb2a8
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: torch in /home/ubuntu/anaconda3/envs/co-llm-v2/lib/python3.11/site-packages (from -r requirements_new.txt (line 1)) (2.1.0)
Collecting sentencepiece (from -r requirements_new.txt (line 2))
Using cached sentencepiece-0.2.0.tar.gz (2.6 MB)
Preparing metadata (setup.py) ... done
Collecting datasets (from -r requirements_new.txt (line 3))
Using cached datasets-2.19.2.tar.gz (2.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting deepspeed>=0.10.0 (from -r requirements_new.txt (line 4))
Using cached deepspeed-0.14.2-py3-none-any.whl
Collecting accelerate<0.23.0,>=0.21.0 (from -r requirements_new.txt (line 5))
Using cached accelerate-0.22.0.tar.gz (241 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting peft>=0.4.0 (from -r requirements_new.txt (line 6))
Using cached peft-0.11.1.tar.gz (262 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting bitsandbytes>=0.41.1 (from -r requirements_new.txt (line 7))
Using cached bitsandbytes-0.42.0.tar.gz (103.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting evaluate>=0.4.0 (from -r requirements_new.txt (line 8))
Using cached evaluate-0.4.2.tar.gz (65 kB)
Preparing metadata (setup.py) ... done
Collecting tokenizers>=0.13.3 (from -r requirements_new.txt (line 9))
Using cached tokenizers-0.19.1.tar.gz (321 kB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [57 lines of output]
Collecting maturin<2.0,>=1.0
Using cached maturin-1.6.0.tar.gz (187 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: maturin
Building wheel for maturin (pyproject.toml): started
Building wheel for maturin (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for maturin (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
/tmp/pip-build-env-lt9x3nmx/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:83: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
corresp(dist, value, root_dir)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/maturin
copying maturin/__main__.py -> build/lib.linux-x86_64-cpython-311/maturin
copying maturin/import_hook.py -> build/lib.linux-x86_64-cpython-311/maturin
copying maturin/__init__.py -> build/lib.linux-x86_64-cpython-311/maturin
running egg_info
creating maturin.egg-info
writing maturin.egg-info/PKG-INFO
writing dependency_links to maturin.egg-info/dependency_links.txt
writing requirements to maturin.egg-info/requires.txt
writing top-level names to maturin.egg-info/top_level.txt
writing manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest file 'maturin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.json' under directory 'src/python_interpreter'
writing manifest file 'maturin.egg-info/SOURCES.txt'
running build_ext
running build_rust
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for maturin
Failed to build maturin
ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.