-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TemplateLM boilerplate LM class #1279
Add TemplateLM boilerplate LM class #1279
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b4fcc09 - Browse repository at this point
Copy the full SHA b4fcc09View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea44741 - Browse repository at this point
Copy the full SHA ea44741View commit details
Commits on Jan 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4e6a870 - Browse repository at this point
Copy the full SHA 4e6a870View commit details -
Make
parallelize=True
vs.accelerate launch
distinction clearer i……n docs (EleutherAI#1261) * Make parallelize=True distinction clearer in documentation. * run linter
Configuration menu - View commit details
-
Copy full SHA for d444e9a - Browse repository at this point
Copy the full SHA d444e9aView commit details -
Allow parameter edits for registered tasks when listed in a benchmark (…
…EleutherAI#1273) * benchmark yamls allow minor edits of already registered tasks * add documentation * removed print
Configuration menu - View commit details
-
Copy full SHA for d41a351 - Browse repository at this point
Copy the full SHA d41a351View commit details -
Fix data-parallel evaluation with quantized models (EleutherAI#1270)
* add WIP device_map overrides * update handling outside of accelerate launcher * change .to(device) log to debug level * run linter
Configuration menu - View commit details
-
Copy full SHA for db3ee51 - Browse repository at this point
Copy the full SHA db3ee51View commit details -
Rework documentation for explaining local dataset (EleutherAI#1284)
* rewor documentation for explaining local dataset * fix typo * Update new_task_guide.md
Configuration menu - View commit details
-
Copy full SHA for 1c07f70 - Browse repository at this point
Copy the full SHA 1c07f70View commit details -
It looks like Google Scholar has [already noticed](https://scholar.google.com/scholar?hl=en&as_sdt=0%2C9&authuser=2&q=%22A+framework+for+few-shot+language+model+evaluation%2C+12+2023%22&btnG=) the updated citation block so let's add it back in.
Configuration menu - View commit details
-
Copy full SHA for b716761 - Browse repository at this point
Copy the full SHA b716761View commit details -
Update CITATION.bib (EleutherAI#1285)
Bumping CITATION.bib to match re-adding the citation in readme. cc @StellaAthena
Configuration menu - View commit details
-
Copy full SHA for 370cbbe - Browse repository at this point
Copy the full SHA 370cbbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4702624 - Browse repository at this point
Copy the full SHA 4702624View commit details -
Update README.md with custom integration doc (EleutherAI#1298)
* Update README.md * punctuation --------- Co-authored-by: Hailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0013399 - Browse repository at this point
Copy the full SHA 0013399View commit details -
Update nq_open.yaml (EleutherAI#1305)
* Update nq_open.yaml change regex * Bump NQ version --------- Co-authored-by: Hailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8783281 - Browse repository at this point
Copy the full SHA 8783281View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5762058 - Browse repository at this point
Copy the full SHA 5762058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55e51ec - Browse repository at this point
Copy the full SHA 55e51ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fb93fc - Browse repository at this point
Copy the full SHA 5fb93fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7724bf1 - Browse repository at this point
Copy the full SHA 7724bf1View commit details -
Fix group register (EleutherAI#1315)
* tuple should be considered as well * set option to keep callable as callable
Configuration menu - View commit details
-
Copy full SHA for 3688b1f - Browse repository at this point
Copy the full SHA 3688b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6051f9 - Browse repository at this point
Copy the full SHA b6051f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0de14e - Browse repository at this point
Copy the full SHA d0de14eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7daca5 - Browse repository at this point
Copy the full SHA e7daca5View commit details -
Fix Issue regarding stderr (EleutherAI#1327)
* add fix fordeciding if stderr is N/A or not * process N/A
Configuration menu - View commit details
-
Copy full SHA for e8bc89d - Browse repository at this point
Copy the full SHA e8bc89dView commit details -
Add
local-completions
support using OpenAI interface (EleutherAI#1277)* Add `local-completions` support using OpenAI interface * Refactor oa_completion * Address tokenizer comments and change request chunks to batch size * Add warning message for tiktoken backend * fix formatting * fix whitespace * Update README.md --------- Co-authored-by: Hailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for fd94748 - Browse repository at this point
Copy the full SHA fd94748View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea12d33 - Browse repository at this point
Copy the full SHA ea12d33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 413f183 - Browse repository at this point
Copy the full SHA 413f183View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9703c8a - Browse repository at this point
Copy the full SHA 9703c8aView commit details -
Update migrated HF dataset paths (EleutherAI#1332)
* Update arc_easy.yaml * Update flan_cot.yaml * update HF dataset path * Update freeform.yaml * Update flan_cot.yaml --------- Co-authored-by: Lintang Sutawika <lintang@eleuther.ai>
Configuration menu - View commit details
-
Copy full SHA for 0ffc6b6 - Browse repository at this point
Copy the full SHA 0ffc6b6View commit details -
Don't use
get_task_dict()
in task registration / initialization (El……eutherAI#1331) * don't use get_task_dict() as a helper, it will download the dataset! * pre-commit * Update README.md --------- Co-authored-by: lintangsutawika <lintang@eleuther.ai>
Configuration menu - View commit details
-
Copy full SHA for fa05528 - Browse repository at this point
Copy the full SHA fa05528View commit details -
manage default (greedy) gen_kwargs in vllm (EleutherAI#1341)
* manage default (greedy) gen_kwargs in vllm better * mirror HF `do_sample` * just need to set temp=0 for greedy
Configuration menu - View commit details
-
Copy full SHA for 4a2c48a - Browse repository at this point
Copy the full SHA 4a2c48aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08af37f - Browse repository at this point
Copy the full SHA 08af37fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 279c5b5 - Browse repository at this point
Copy the full SHA 279c5b5View commit details -
Filter
docs not offset bydoc_id
(EleutherAI#1349)* get `doc` from instance * acceletate bugfix: get ground doc from instance * convert filter to `process_result` * get docs from instances in `FilterEnsemble` * rename * nit * better looping * fix typehint
Configuration menu - View commit details
-
Copy full SHA for 7cf3083 - Browse repository at this point
Copy the full SHA 7cf3083View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f09e98 - Browse repository at this point
Copy the full SHA 5f09e98View commit details -
Configuration menu - View commit details
-
Copy full SHA for e29ed4e - Browse repository at this point
Copy the full SHA e29ed4eView commit details -
Add causalLM OpenVino models (EleutherAI#1290)
* added intel optimum * added intel optimum in readme * modified intel optimum * modified intel optimum * modified intel optimum * modified install optimum * modified path of IR file * added openvino_device * added openvino_device2 * changed optimum-causal to openvino-causal * Update README.md * Update README.md * remove `lm_eval.base` import * update openvino-causal -> openvino ; pass device through super().__init__() * Update README.md * Add optimum to tests dependencies * apply pre-commit * fix so tests pass --------- Co-authored-by: Hailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com> Co-authored-by: haileyschoelkopf <hailey@eleuther.ai>
Configuration menu - View commit details
-
Copy full SHA for ca8a014 - Browse repository at this point
Copy the full SHA ca8a014View commit details -
Apply some best practices and guideline recommendations to code (Eleu…
…therAI#1363) * raise Exception, not a string Additional info https://peps.python.org/pep-0352/#exception-hierarchy-changes https://docs.python.org/3.8/tutorial/errors.html#raising-exceptions * Apply PEP8 recommendation to prefer isinstance "Object type comparisons should always use isinstance() instead of comparing types directly" https://peps.python.org/pep-0008/ * Remove dangerous default mutable values in arguments https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/dangerous-default-value.html * Format logging messages with fstring (not with format) Additional info https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/logging-format-interpolation.html There are also discussions about the speed of formatting while logging or some unintended code executions pylint-dev/pylint#2395 https://stackoverflow.com/a/54368109 but at least one format (fstring one) will be used throughout the project * Specify utf-8 encoding for `open` explicitly If not specified, it may be supposed differently in different environments, OSes, and Python versions. See https://peps.python.org/pep-0597/ https://docs.python.org/3.11/library/locale.html#locale.getencoding https://docs.python.org/3.10/library/os.html#utf8-mode https://pylint.readthedocs.io/en/stable/user_guide/messages/warning/unspecified-encoding.html Helps also if some code from English language tasks is taken as inspiration for tasks in non-English languages. * Use inline-ignoring comments to pass pre-commit instead of identity process https://flake8.pycqa.org/en/3.0.1/user/ignoring-errors.html#in-line-ignoring-errors https://www.flake8rules.com/rules/F841.html flake8 comments are supported by ruff: https://docs.astral.sh/ruff/linter/#error-suppression
Configuration menu - View commit details
-
Copy full SHA for 5f77a8f - Browse repository at this point
Copy the full SHA 5f77a8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c986b5f - Browse repository at this point
Copy the full SHA c986b5fView commit details -
delay filter init; remove
*args
(EleutherAI#1369)* delay filter init; remove `*args` * bugfix * optimize * type hint
Configuration menu - View commit details
-
Copy full SHA for 87ea8d3 - Browse repository at this point
Copy the full SHA 87ea8d3View commit details -
Fix unintuitive
--gen_kwargs
behavior (EleutherAI#1329)* don't override do_sample if no value for it is passed * Update gen_kwargs override condition * Update huggingface.py * Update huggingface.py * run linters * silence an erroneous warning
Configuration menu - View commit details
-
Copy full SHA for 6f4e5df - Browse repository at this point
Copy the full SHA 6f4e5dfView commit details -
Publish to pypi (EleutherAI#1194)
* publish to pypi * lint * Update publish.yml * minor
Configuration menu - View commit details
-
Copy full SHA for 5ff7c41 - Browse repository at this point
Copy the full SHA 5ff7c41View commit details -
Make dependencies compatible with PyPI (EleutherAI#1378)
* make deps not point to github urls * formatting * try making PyPI only run on tag pushes
Configuration menu - View commit details
-
Copy full SHA for 68a193b - Browse repository at this point
Copy the full SHA 68a193bView commit details -
Add support for RWKV models with World tokenizer (EleutherAI#1374)
* Add support for RWKV models with World tokenizer The RWKV line of model with the World tokenizer, does not allow the padding token to be configured, and has its value preset as 0 This however fails all the "if set" checks, and would cause the tokenizer to crash. A tokenizer class name check was added, in addition to a model type check, as there exists RWKV models which uses the neox tokenizers * Update huggingface.py Genericized so that this supports any RWKVWorld tokenizer, and added a fall-back for if the HF implementation name changes. * Comply with formatting guidelines * fix format --------- Co-authored-by: Stella Biderman <stellabiderman@gmail.com> Co-authored-by: Hailey Schoelkopf <65563625+haileyschoelkopf@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 492191d - Browse repository at this point
Copy the full SHA 492191dView commit details -
add bypass metric (EleutherAI#1156)
* add bypass metric * fixed `bypass` metric. * add task attributes if predict_only * add `predict_only` checks * add docs * added `overide_metric`, `override_config` to `Task` * nits * nit * changed --predict_only to generations; nits * nits * nits * change gen_kwargs warning * add note about `--predict_only` in README.md * added `predict_only` * move table to bottom * nit * change null aggregation to bypass (conflict) * bugfix; default `temp=0.0` * typo
Configuration menu - View commit details
-
Copy full SHA for 477058a - Browse repository at this point
Copy the full SHA 477058aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d974bf - Browse repository at this point
Copy the full SHA 8d974bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b07548 - Browse repository at this point
Copy the full SHA 3b07548View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9436a9 - Browse repository at this point
Copy the full SHA b9436a9View commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 907968c - Browse repository at this point
Copy the full SHA 907968cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb5481a - Browse repository at this point
Copy the full SHA bb5481aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 129a2ee - Browse repository at this point
Copy the full SHA 129a2eeView commit details
Commits on Feb 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a97260e - Browse repository at this point
Copy the full SHA a97260eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63564e7 - Browse repository at this point
Copy the full SHA 63564e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for acff950 - Browse repository at this point
Copy the full SHA acff950View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c17420 - Browse repository at this point
Copy the full SHA 5c17420View commit details -
Configuration menu - View commit details
-
Copy full SHA for b481947 - Browse repository at this point
Copy the full SHA b481947View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63d58f7 - Browse repository at this point
Copy the full SHA 63d58f7View commit details