Instructions to use shawnw3i/Hy-MT2-7B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shawnw3i/Hy-MT2-7B-AWQ 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="shawnw3i/Hy-MT2-7B-AWQ")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("shawnw3i/Hy-MT2-7B-AWQ") model = AutoModelForCausalLM.from_pretrained("shawnw3i/Hy-MT2-7B-AWQ") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- c4c10b018a0b70fe91f6ba91eb5365eb1fda52f1904ee85bf529573679695cf7
- Size of remote file:
- 16.4 MB
- SHA256:
- 1428fd0983746aaf3d061d381d31bbb7d8de56f46210b4cd05e4c195cac10770
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.