Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Read list of labels (multilabel task) #889

Closed
wants to merge 2 commits into from

Conversation

crisov
Copy link
Contributor

@crisov crisov commented Aug 9, 2019

Summary: For multi-classification task, the label could be a list of labels and can be stored as ARRAY<STRING> in hive. So we need to do type check first, if it is ARRAY<STRING>, we just return it.

Reviewed By: snisarg

Differential Revision: D16635133

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 9, 2019
@crisov crisov force-pushed the export-D16635133 branch from dc14540 to 381ea14 Compare August 9, 2019 17:48
crisov added a commit to crisov/pytext that referenced this pull request Aug 9, 2019
Summary:
Pull Request resolved: facebookresearch#889

For multi-classification task, the label could be a list of labels and can be stored as `ARRAY<STRING>` in hive. So we need to do type check first, if it is `ARRAY<STRING>`, we just return it.

Reviewed By: snisarg

Differential Revision: D16635133

fbshipit-source-id: aa8bee880e7a9f2022b1e5aa86683435cb079b61
crisov added 2 commits August 9, 2019 10:49
Differential Revision: D16635113

fbshipit-source-id: 439b29b195d082efbba3bbc10a9ee2517efa0eb3
Summary:
Pull Request resolved: facebookresearch#889

For multi-classification task, the label could be a list of labels and can be stored as `ARRAY<STRING>` in hive. So we need to do type check first, if it is `ARRAY<STRING>`, we just return it.

Reviewed By: snisarg

Differential Revision: D16635133

fbshipit-source-id: cdc846e5d5f84931caccb600c5a1ba761c50f775
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 13d6627.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants