Emergent Language Corpus Collection (ELCC)
收藏资源简介:
Emergent Language Corpus Collection (ELCC) 是由卡内基梅隆大学语言技术研究所创建的一个集合,包含了从文献中收集的多种紧急通信系统生成的语料库。这些系统包括各种信号游戏环境和更复杂的任务,如社交推理游戏和具身导航。ELCC 数据集的大小和复杂性各异,涵盖了从简单的信号游戏到复杂的社交互动模拟。数据集的创建过程涉及对不同紧急通信系统的详细分析和元数据标注。ELCC 数据集主要应用于研究紧急语言的结构特性和在下游自然语言处理任务中的预训练模型效用,旨在解决紧急通信系统的比较和分析问题。
Emergent Language Corpus Collection (ELCC) is a corpus collection developed by the Language Technologies Institute of Carnegie Mellon University. It comprises corpora generated by various emergent communication systems, which were collected from academic literature. These systems cover a range of signaling game environments and more complex tasks such as social reasoning games and embodied navigation. The ELCC dataset varies in size and complexity, spanning from simple signaling games to sophisticated social interaction simulations. The construction of the ELCC dataset involves detailed analysis and metadata annotation of diverse emergent communication systems. The ELCC dataset is primarily used to investigate the structural properties of emergent language and the utility of pre-trained models in downstream natural language processing tasks, aiming to address issues related to the comparison and analysis of emergent communication systems.
ELCC
概述
Emergent Language Corpus Collection(ELCC)是一个包含多种紧急通信模拟语料库及其元数据的集合。
数据集使用
用户可以通过git LFS克隆此仓库直接使用数据,或通过mlcroissant库加载数据。安装mlcroissant库及其依赖项的详细信息,请参阅util/environment.yml文件。
示例代码
以下是通过mlcroissant库加载ELCC数据的示例: python import mlcroissant as mlc
cr_url = "https://huggingface.co/datasets/bboldt/elcc/raw/main/croissant.json" dataset = mlc.Dataset(jsonld=cr_url)
整数数组的原始语料库;语料库根据其路径命名;
例如,"systems/babyai-sr/data/GoToObj/corpus.json" 变为 "babyai-sr/GoToObj"。
records = dataset.records(record_set="babyai-sr/GoToObj")
系统级元数据
records = dataset.records(record_set="system-metadata")
系统元数据的原始JSON字符串;某些字段未被Croissant很好地处理,因此如果需要,可以在此处访问它们。
records = dataset.records(record_set="system-metadata-raw")
语料库元数据,特别是由ELCC分析生成的指标
records = dataset.records(record_set="corpus-metadata")
原始语料库元数据
records = dataset.records(record_set="corpus-metadata-raw")
records现在可以迭代访问各个元素。
开发
运行单个EC系统
对于每个紧急语言条目,我们提供了包装代码(位于systems/*/code/)以创建可重现的环境并运行生成紧急语言的代码。环境在environment.yml文件中被精确指定;如果希望手动编辑依赖项,可以从environment.editable.yml开始(如果存在)。接下来,运行或查看run.sh或run.py以查看生成语料库所需的命令。
Git子模块
该项目使用git子模块来管理外部依赖项。默认情况下,子模块未被“初始化”,这意味着在克隆项目后它们将是空的。如果希望填充子模块(即指向另一个仓库的目录)以查看或使用其代码,请运行git submodule init path/to/submodule将其标记为已初始化。然后,运行git submodule update以填充已初始化的子模块。运行git submodule deinit -f path/to/submodule使子模块再次为空。

- 1ELCC: the Emergent Language Corpus Collection卡内基梅隆大学语言技术研究所 · 2024年



