"megatron/git@developer.sourcefind.cn:wuxk1/megatron-lm.git" did not exist on "ee327acde78d301e22859f5428b190dc17af60d7"
Commit 767c58b9 authored by lintangsutawika's avatar lintangsutawika
Browse files

Merge branch 'big-refactor' into update_docs

parents 3bfbddc4 759da8d5
...@@ -31,7 +31,13 @@ Homepage: `https://huggingface.co/datasets/Muennighoff/xwinograd` ...@@ -31,7 +31,13 @@ Homepage: `https://huggingface.co/datasets/Muennighoff/xwinograd`
} }
``` ```
### Subtasks ### Groups and Tasks
#### Groups
* `xwinograd`
#### Tasks
List or describe tasks defined in this folder, and their names here: List or describe tasks defined in this folder, and their names here:
* `xwinograd_en`: Winograd schema challenges in English. * `xwinograd_en`: Winograd schema challenges in English.
......
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
# It doesn't have a yaml file extension as it is not meant to be imported directly # It doesn't have a yaml file extension as it is not meant to be imported directly
# by the harness. # by the harness.
group: group:
- winograd - xwinograd
- commonsense
- multilingual
dataset_path: Muennighoff/xwinograd dataset_path: Muennighoff/xwinograd
dataset_name: null # Overridden by language-specific config. dataset_name: null # Overridden by language-specific config.
output_type: multiple_choice output_type: multiple_choice
......
...@@ -456,7 +456,7 @@ env = Environment(loader=BaseLoader, undefined=StrictUndefined) ...@@ -456,7 +456,7 @@ env = Environment(loader=BaseLoader, undefined=StrictUndefined)
env.filters["regex_replace"] = regex_replace env.filters["regex_replace"] = regex_replace
def apply_template(template, doc): def apply_template(template: str, doc: dict) -> str:
rtemplate = env.from_string(template) rtemplate = env.from_string(template)
return rtemplate.render(**doc) return rtemplate.render(**doc)
......
import setuptools import setuptools
import itertools
with open("README.md", "r", encoding="utf-8") as fh: with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read() long_description = fh.read()
extras_require = {
"dev": ["black", "flake8", "pre-commit", "pytest", "pytest-cov"],
"linting": [
"flake8",
"pylint",
"mypy",
"pre-commit",
],
"testing": ["pytest", "pytest-cov", "pytest-xdist"],
"multilingual": ["nagisa>=0.2.7", "jieba>=0.42.1"],
"sentencepiece": ["sentencepiece>=0.1.98", "protobuf>=4.22.1"],
"promptsource": [
"promptsource @ git+https://github.com/bigscience-workshop/promptsource.git#egg=promptsource"
],
"gptq": ["auto-gptq[triton] @ git+https://github.com/PanQiWei/AutoGPTQ"],
"anthropic": ["anthropic"],
"openai": ["openai", "tiktoken"],
}
extras_require["all"] = list(itertools.chain.from_iterable(extras_require.values()))
setuptools.setup( setuptools.setup(
name="lm_eval", name="lm_eval",
version="1.0.0", version="1.0.0",
...@@ -36,7 +59,6 @@ setuptools.setup( ...@@ -36,7 +59,6 @@ setuptools.setup(
"evaluate>=0.4.0", "evaluate>=0.4.0",
"jsonlines", "jsonlines",
"numexpr", "numexpr",
"openai>=0.6.4",
"omegaconf>=2.2", "omegaconf>=2.2",
"peft>=0.2.0", "peft>=0.2.0",
"pybind11>=2.6.2", "pybind11>=2.6.2",
...@@ -51,21 +73,5 @@ setuptools.setup( ...@@ -51,21 +73,5 @@ setuptools.setup(
"transformers>=4.1", "transformers>=4.1",
"zstandard", "zstandard",
], ],
extras_require={ extras_require=extras_require,
"dev": ["black", "flake8", "pre-commit", "pytest", "pytest-cov"],
"linting": [
"flake8",
"pylint",
"mypy",
"pre-commit",
],
"testing": ["pytest", "pytest-cov", "pytest-xdist"],
"multilingual": ["nagisa>=0.2.7", "jieba>=0.42.1"],
"sentencepiece": ["sentencepiece>=0.1.98", "protobuf>=4.22.1"],
"promptsource": [
"promptsource @ git+https://github.com/bigscience-workshop/promptsource.git#egg=promptsource"
],
"gptq": ["auto-gptq[triton] @ git+https://github.com/PanQiWei/AutoGPTQ"],
"anthropic": ["anthropic"],
},
) )
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
### Paper ### Paper
Title: `paper title goes here` Title: `paper titles goes here`
Abstract: `link to paper PDF or arXiv abstract goes here` Abstract: `link to paper PDF or arXiv abstract goes here`
`Short description of paper / benchmark goes here:` `Short description of paper / benchmark goes here:`
...@@ -16,11 +17,16 @@ Homepage: `homepage to the benchmark's website goes here, if applicable` ...@@ -16,11 +17,16 @@ Homepage: `homepage to the benchmark's website goes here, if applicable`
BibTeX-formatted citation goes here BibTeX-formatted citation goes here
``` ```
### Subtasks ### Groups and Tasks
#### Groups
* `group_name`: `Short description`
#### Tasks
List or describe tasks defined in this folder, and their names here:
* `task_name`: `1-sentence description of what this particular task does` * `task_name`: `1-sentence description of what this particular task does`
* `task_name2`: ..... * `task_name2`: ...
### Checklist ### Checklist
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment