Instructions to use Bader44/Bader44-Scientific-Translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Bader44/Bader44-Scientific-Translator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Bader44/Bader44-Scientific-Translator") model = AutoModelForSeq2SeqLM.from_pretrained("Bader44/Bader44-Scientific-Translator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from Bader44/Bader44-Scientific-Translator: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/Bader44/Bader44-Scientific-Translator/resolve/main/generation_config.json
- Command line
-
hf download hf://Bader44/Bader44-Scientific-Translator/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Bader44/Bader44-Scientific-Translator/resolve/main/generation_config.json
277 Bytes
| { | |
| "bad_words_ids": [ | |
| [ | |
| 62801 | |
| ] | |
| ], | |
| "decoder_start_token_id": 62801, | |
| "eos_token_id": [ | |
| 0 | |
| ], | |
| "forced_eos_token_id": 0, | |
| "max_length": 512, | |
| "num_beams": 4, | |
| "pad_token_id": 62801, | |
| "renormalize_logits": true, | |
| "transformers_version": "4.57.6" | |
| } | |