# Module: tff.simulation.baselines.stackoverflow

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Libraries for constructing baseline tasks for the Stack Overflow dataset.

## Functions

[`create_tag_prediction_task(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/baselines/stackoverflow/create_tag_prediction_task): Creates a baseline task for tag prediction on Stack Overflow.

[`create_word_prediction_task(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/baselines/stackoverflow/create_word_prediction_task): Creates a baseline task for next-word prediction on Stack Overflow.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| DEFAULT_SEQUENCE_LENGTH | `20` |
| DEFAULT_TAG_VOCAB_SIZE | `500` |
| DEFAULT_WORD_VOCAB_SIZE | `10000` |

<br />