# unloadVocab {#unloadVocab}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`unloadVocab([vocabName])`

## Arguments {#arguments}

**vocabName** \(optional\) A STRING scalar specifying the name of the vocabulary to unload. If unspecified, all loaded vocabularies will be removed from memory.

## Details {#details}

Unloads the specified vocabulary from memory.

## Examples {#examples}

``` {#codeblock_hgp_xgp_mgc}
unloadVocab("vocab1")
```

Related functions: [loadVocab](../l/loadVocab.md), [tokenizeBert](../t/tokenizeBert.md)

