The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Update huggingface_length_function.ipynb (#2203)
Ikko Eltociear Ashiminea4a1ee6b5d37
diff --git a/docs/modules/indexes/text_splitters/examples/huggingface_length_function.ipynb b/docs/modules/indexes/text_splitters/examples/huggingface_length_function.ipynbindex ef98bcfbb6..32c0fb027d 100644--- a/docs/modules/indexes/text_splitters/examples/huggingface_length_function.ipynb+++ b/docs/modules/indexes/text_splitters/examples/huggingface_length_function.ipynb@@ -5,8 +5,8 @@"id": "13dc0983","metadata": {},"source": [- "# HuggingFace Length Function\n",- "Most LLMs are constrained by the number of tokens that you can pass in, which is not the same as the number of characters. In order to get a more accurate estimate, we can use HuggingFace tokenizers to count the text length.\n",+ "# Hugging Face Length Function\n",+ "Most LLMs are constrained by the number of tokens that you can pass in, which is not the same as the number of characters. In order to get a more accurate estimate, we can use Hugging Face tokenizers to count the text length.\n","\n","1. How the text is split: by character passed in\n","2. How the chunk size is measured: by Hugging Face tokenizer"