# Clickbate Example This example provides a good starting point since it only contains code to parse a [corpus]. It also shows how to use your own model your own data by synthesizing a positive and negative dataset sources in to one, which is provided in the [only source code] file for the project (excluding the entry point [harness.py] script). The example shows how to create, train, validate and test a model that determines if a headline is clickbate or not (see the corpus for details). It comes with two models: one that uses word vectors (GloVE 50 dimension and the fasttext news pre-trained embeddings) with additional language features, and a BERT word embedding example. Note that there is quite a bit of inline documentation in the [app.conf] and [obj.yml] configuration files. so it is recommended the reader follow it while reading this tutorial. ## Command Line Interface All of the examples for this package are written as an Zensols CLI applications. The entry point program is [harness.py]. However, the command line is configured in [app.conf] and the application in [obj.yml], which is where almost all of the example. These files configure the file system paths, tell where to load other [resource libraries], point to corpus resources and are also used by the [Jupyter notebook example] to allow for more rapid prototyping and experimentation. Because the examples (including this one) use [resource libraries], the configuration is much smaller and more manageable. First we start with adding the application defaults allowing `name` to be [overridden] with the `--override` command line option: ```ini [cb_default] lang_features = dependencies, enums, embedding = ${name}_embedding ``` The `--override` command line option takes a string (or file) containing any configuration in a comma delimited `
.