Skip to content

Commit

Permalink
simplified data class and moved indexing into dialog teacher (faceboo…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexholdenmiller authored May 3, 2017
1 parent 7fc40e3 commit e7be1e5
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 246 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,7 @@ The core library contains the following files:
- **_MultiTaskTeacher_**: creates a set of teachers based on a "task string" passed to the Teacher, creating multiple teachers within it and alternating between them
- create_task_teacher: instantiate a teacher from a given task string (e.g. 'babi:task:1' or 'squad')
- **build_data.py**: basic utilities for setting up data for tasks. you can override if your filesystem needs different functionality.
- **data.py**: contains some default classes for fixed text datasets
- TextData: sets up observation tables with 'text', 'labels', 'reward', and/or 'candidates' fields
- HogwildTextData: does the same thing as TextData, but stores underlying data in a shared-memory array, which allows for modification of the data during running if desired
- **dialog_teacher.py**: contains a base teacher class for doing dialog with fixed chat logs
- **dialog_teacher.py**: contains a base teacher class for doing dialog with fixed chat logs, along with a data class for storing the data
- **dict.py**: contains code for building general NLP-style dictionaries from observations
- DictionaryAgent: agent which tracks the index and frequency of words in a dictionary, and can parse a sentence into indices into its dictionary or back
- **fbdialog_teacher.py**: contains a teacher class which implements a function setup_data which parses data in the FB Dialog data format
Expand Down
229 changes: 0 additions & 229 deletions parlai/core/data.py

This file was deleted.

Loading

0 comments on commit e7be1e5

Please sign in to comment.