Instructions to use tencent/Youtu-HiChunk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tencent/Youtu-HiChunk with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="tencent/Youtu-HiChunk", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tencent/Youtu-HiChunk", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
704323c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:43a3c8747917e9b524b39a8aebfbf558efdfc96d8dcb83f9606ba132cf9b4a1c
size 149206
|