# TrainableLLM

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/memorize/tool/TrainableLLM)

Protocol for trainable language models.

## Signature

```python
TrainableLLM()
```

## Extends

- `Protocol`

## Methods

- [`train_unsupervised()`](https://reference.langchain.com/python/langchain-community/tools/memorize/tool/TrainableLLM/train_unsupervised)
- [`atrain_unsupervised()`](https://reference.langchain.com/python/langchain-community/tools/memorize/tool/TrainableLLM/atrain_unsupervised)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/tools/memorize/tool.py#L14)