mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-02 03:15:11 +00:00
Fix HuggingFace notebook link (#11863)
- **Description:** While reading the docs (https://python.langchain.com/docs/integrations/providers/huggingface), I noticed the notebook linked in https://python.langchain.com/docs/use_cases/evaluation/huggingface_datasets.html was giving back 404. I made a search in the docs to see whether it was available, so this PR updates the link in the docs. - **Issue:** I haven't opened an issue for this change. - **Dependencies:** - - **Tag maintainer:** -, - **Twitter handle:** - --------- Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
parent
40d188948e
commit
96e3e06d50
@ -47,7 +47,7 @@ To use a the wrapper for a model hosted on Hugging Face Hub:
|
|||||||
```python
|
```python
|
||||||
from langchain.embeddings import HuggingFaceHubEmbeddings
|
from langchain.embeddings import HuggingFaceHubEmbeddings
|
||||||
```
|
```
|
||||||
For a more detailed walkthrough of this, see [this notebook](/docs/integrations/text_embedding/huggingfacehub.html)
|
For a more detailed walkthrough of this, see [this notebook](/docs/integrations/text_embedding/huggingfacehub)
|
||||||
|
|
||||||
### Tokenizer
|
### Tokenizer
|
||||||
|
|
||||||
@ -59,11 +59,11 @@ You can also use it to count tokens when splitting documents with
|
|||||||
from langchain.text_splitter import CharacterTextSplitter
|
from langchain.text_splitter import CharacterTextSplitter
|
||||||
CharacterTextSplitter.from_huggingface_tokenizer(...)
|
CharacterTextSplitter.from_huggingface_tokenizer(...)
|
||||||
```
|
```
|
||||||
For a more detailed walkthrough of this, see [this notebook](/docs/modules/data_connection/document_transformers/text_splitters/huggingface_length_function.html)
|
For a more detailed walkthrough of this, see [this notebook](/docs/modules/data_connection/document_transformers/text_splitters/huggingface_length_function)
|
||||||
|
|
||||||
|
|
||||||
### Datasets
|
### Datasets
|
||||||
|
|
||||||
The Hugging Face Hub has lots of great [datasets](https://huggingface.co/datasets) that can be used to evaluate your LLM chains.
|
The Hugging Face Hub has lots of great [datasets](https://huggingface.co/datasets) that can be used to evaluate your LLM chains.
|
||||||
|
|
||||||
For a detailed walkthrough of how to use them to do so, see [this notebook](/docs/use_cases/evaluation/huggingface_datasets.html)
|
For a detailed walkthrough of how to use them to do so, see [this notebook](/docs/integrations/document_loaders/hugging_face_dataset)
|
||||||
|
Loading…
Reference in New Issue
Block a user