DisgustingOzil/Floor_Plan_dataset
收藏Hugging Face2024-04-04 更新2024-06-11 收录
下载链接:
https://hf-mirror.com/datasets/DisgustingOzil/Floor_Plan_dataset
下载链接
链接失效反馈官方服务:
资源简介:
---
dataset_info:
features:
- name: image
dtype: image
- name: en_text
dtype: string
splits:
- name: train
num_bytes: 9768225.0
num_examples: 170
download_size: 4653899
dataset_size: 9768225.0
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# Dataset Card for "Pak_Law_QA"
```python
from huggingface_hub import login
login()
from datasets import load_dataset
import os
# dataset = load_dataset("imagefolder", data_dir="/home/musab/Downloads/ROBIN/Dataset_3rooms/", split="train")
# from datasets import load_dataset
# Load dataset
data_dir = "/home/musab/Downloads/ROBIN/Dataset_3rooms/"
dataset = load_dataset("imagefolder", data_dir=data_dir, split="train")
# Define a function that will be applied to each item
def add_new_column(example):
# Add a new key-value pair for the new column
example["en_text"] = "Create 3 room 2d floor plan"
return example
# Use the map function to apply the function to each item in the dataset
dataset = dataset.map(add_new_column)
# To verify that the new column has been added
print(dataset.column_names)
dataset.push_to_hub("DisgustingOzil/Pak_Law_QA", token=os.environ.get('HF_TOKEN'))
```
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
提供机构:
DisgustingOzil
原始信息汇总
数据集概述
数据集名称
Pak_Law_QA
数据集特征
- image: 数据类型为图像。
- en_text: 数据类型为字符串。
数据集拆分
- train: 包含170个样本,总大小为9768225.0字节。
数据集大小
- 下载大小: 4653899字节
- 数据集总大小: 9768225.0字节
配置信息
- config_name: default
- data_files:
- split: train
- path: data/train-*



