Instructions to use tsuyuan/bart-hubert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tsuyuan/bart-hubert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="tsuyuan/bart-hubert-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("tsuyuan/bart-hubert-base") model = AutoModel.from_pretrained("tsuyuan/bart-hubert-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
756d99a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:538d754b59d6d8f746cb11658f357d2427c70079f71919afa705865239da00b8
size 560910297
|