Translation
Transformers
Safetensors
hunyuan_v1_dense
text-generation
noesis
noesis-dub-lm
dhcf-fno
amaimedia
sft
qlora
bf16
hunyuan
hy-mt2
tencent
dub-lm
live-voice-translate
Instructions to use AMAImedia/NOESIS-Hy-MT2-1.8B-BF16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AMAImedia/NOESIS-Hy-MT2-1.8B-BF16 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="AMAImedia/NOESIS-Hy-MT2-1.8B-BF16")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AMAImedia/NOESIS-Hy-MT2-1.8B-BF16") model = AutoModelForCausalLM.from_pretrained("AMAImedia/NOESIS-Hy-MT2-1.8B-BF16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|hy_begin▁of▁sentence|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|hy_place▁holder▁no▁2|>", | |
| "is_local": true, | |
| "local_files_only": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|hy_▁pad▁|>", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |