From aa9e0c9c39ccb00ed211aa2b718b8308258fa1df Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 27 Aug 2020 19:56:52 +0200 Subject: [PATCH] small fix --- website/docs/api/architectures.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/api/architectures.md b/website/docs/api/architectures.md index 374c133ff..b55027356 100644 --- a/website/docs/api/architectures.md +++ b/website/docs/api/architectures.md @@ -323,11 +323,11 @@ for details and system requirements. Load and wrap a transformer model from the [HuggingFace `transformers`](https://huggingface.co/transformers) library. You -can any transformer that has pretrained weights and a PyTorch implementation. -The `name` variable is passed through to the underlying library, so it can be -either a string or a path. If it's a string, the pretrained weights will be -downloaded via the transformers library if they are not already available -locally. +can use any transformer that has pretrained weights and a PyTorch +implementation. The `name` variable is passed through to the underlying library, +so it can be either a string or a path. If it's a string, the pretrained weights +will be downloaded via the transformers library if they are not already +available locally. In order to support longer documents, the [TransformerModel](/api/architectures#TransformerModel) layer allows you to pass