Unverified Commit 31838d3e authored by Stas Bekman's avatar Stas Bekman Committed by GitHub
Browse files

[doc] normalize HF Transformers string (#15023)

parent f21bc421
...@@ -14,13 +14,13 @@ specific language governing permissions and limitations under the License. ...@@ -14,13 +14,13 @@ specific language governing permissions and limitations under the License.
[[open-in-colab]] [[open-in-colab]]
Let's take a look at how 🤗 Transformer models can be benchmarked, best practices, and already available benchmarks. Let's take a look at how 🤗 Transformers models can be benchmarked, best practices, and already available benchmarks.
A notebook explaining in more detail how to benchmark 🤗 Transformer models can be found [here](https://github.com/huggingface/notebooks/tree/master/examples/benchmark.ipynb). A notebook explaining in more detail how to benchmark 🤗 Transformers models can be found [here](https://github.com/huggingface/notebooks/tree/master/examples/benchmark.ipynb).
## How to benchmark 🤗 Transformer models ## How to benchmark 🤗 Transformers models
The classes [`PyTorchBenchmark`] and [`TensorFlowBenchmark`] allow to flexibly benchmark 🤗 Transformer models. The benchmark classes allow us to measure the _peak memory usage_ and _required time_ for both _inference_ and _training_. The classes [`PyTorchBenchmark`] and [`TensorFlowBenchmark`] allow to flexibly benchmark 🤗 Transformers models. The benchmark classes allow us to measure the _peak memory usage_ and _required time_ for both _inference_ and _training_.
<Tip> <Tip>
......
...@@ -13,7 +13,7 @@ specific language governing permissions and limitations under the License. ...@@ -13,7 +13,7 @@ specific language governing permissions and limitations under the License.
# Testing # Testing
Let's take a look at how 🤗 Transformer models are tested and how you can write new tests and improve the existing ones. Let's take a look at how 🤗 Transformers models are tested and how you can write new tests and improve the existing ones.
There are 2 test suites in the repository: There are 2 test suites in the repository:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment