SpinTheMic
Pro

Interview practice question

Classifying long legal contracts

Machine Learning · NLP · Intermediate

You need to classify contracts that are 30 pages long, but your model accepts only 512 tokens. What do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Chunk documents; classify chunks; aggregate.
  • Use key sections (title, first pages, definitions).
  • Hierarchical models over chunk embeddings.
  • Long-context models or LLMs.
  • Evaluate which approach works best.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics