Instructions to use BubbleSheep/Hgn_trans_en2zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BubbleSheep/Hgn_trans_en2zh with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="BubbleSheep/Hgn_trans_en2zh")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("BubbleSheep/Hgn_trans_en2zh") model = AutoModelForMultimodalLM.from_pretrained("BubbleSheep/Hgn_trans_en2zh") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b87f618c48993d26ca269458ec447e1faad91cb675383e9ea236d213e90cd2d2
- Size of remote file:
- 310 MB
- SHA256:
- 321a013abaa328537c0f6d368413a15936fb7b75a1d51ae9e0d5b9baad0d0e7d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.