mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
23 lines
591 B
Markdown
23 lines
591 B
Markdown
|
# Tensorflow Hub
|
||
|
|
||
|
>[TensorFlow Hub](https://www.tensorflow.org/hub) is a repository of trained machine learning models ready for fine-tuning and deployable anywhere.
|
||
|
|
||
|
>[TensorFlow Hub](https://tfhub.dev/) lets you search and discover hundreds of trained, ready-to-deploy machine learning models in one place.
|
||
|
|
||
|
## Installation and Setup
|
||
|
|
||
|
|
||
|
```bash
|
||
|
pip install tensorflow-hub
|
||
|
pip install tensorflow_text
|
||
|
```
|
||
|
|
||
|
|
||
|
## Text Embedding Models
|
||
|
|
||
|
See a [usage example](../modules/models/text_embedding/examples/tensorflowhub.ipynb)
|
||
|
|
||
|
```python
|
||
|
from langchain.embeddings import TensorflowHubEmbeddings
|
||
|
```
|