tokens: Because your item field on the model does not have empty = True ( or null = True ) set , Django REST Framework automatically generates it as a PrimaryKeyRelatedField with required = True .
ner_tags: O O B-Variable O O O O O O O B-Code_Block I-Code_Block I-Code_Block O O B-Code_Block I-Code_Block I-Code_Block O O O B-Library I-Library I-Library O O O O O B-Variable O B-Code_Block I-Code_Block I-Code_Block O