Instructions to use aakarshan/autotrain-Question-translation-797524592 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aakarshan/autotrain-Question-translation-797524592 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="aakarshan/autotrain-Question-translation-797524592")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("aakarshan/autotrain-Question-translation-797524592") model = AutoModelForSeq2SeqLM.from_pretrained("aakarshan/autotrain-Question-translation-797524592", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 518da69c70493b3695aa5f9ea85c24adf6760f3bd5b630270e77ae897a654cbb
- Size of remote file:
- 1.84 kB
- SHA256:
- 79ed7efcdec204bafaed590d696c05ba4c2d88fbb58c0ca01aa91621e16603a0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.