Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Conversation

@InquestGeronimo
Copy link
Contributor

fixing indentation in YAML code block

@dbarbuzzi
Copy link
Contributor

The indentation is still incorrect for the YAML block; the lines under each of the - task: […] lines are still indented too much. The block in the Markdown source should be:

```yaml
models:
    - task: question_answering
      model_path: zoo:nlp/question_answering/bert-base/pytorch/huggingface/squad/base-none
      batch_size: 1
      alias: question_answering/base
    - task: question_answering
      model_path: zoo:nlp/question_answering/bert-base/pytorch/huggingface/squad/pruned_quant-aggressive_95
      batch_size: 1
      alias: question_answering/pruned_quant
```

Basically, the indentation of the first mapped value has to be matched by the remaining ones exactly/visually (ignoring the - used to denote a list item).

@InquestGeronimo InquestGeronimo merged commit bf507ce into neuralmagic:main Apr 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants