SHARE
TWEET

Untitled

a guest Apr 26th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - kind: transformer
  2.   name: tokenize_string_to_int
  3.   output_type: INT_LIST_COLUMN
  4.   path: ./tokenize_string_to_int.py
  5.   inputs:
  6.     columns:
  7.       col: STRING_COLUMN
  8.     args:
  9.       max_len: INT
  10.       vocab: {STRING: INT}
  11.  
  12. - kind: transformed_column
  13.   name: embedding_input
  14.   transformer: tokenize_string_to_int
  15.   inputs:
  16.     columns:
  17.       col: review
  18.     args:
  19.       max_len: max_review_length
  20.       vocab: reviews_vocab
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top