Instructions to use scoris/scoris-mt-en-lt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scoris/scoris-mt-en-lt with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("scoris/scoris-mt-en-lt") model = AutoModelForSeq2SeqLM.from_pretrained("scoris/scoris-mt-en-lt") - Notebooks
- Google Colab
- Kaggle
Update README.md (#1)
Browse files- Update README.md (a3149f02739cd9cfdd3fc24605d7921122a1364f)
Co-authored-by: Robe <programeriss@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -50,7 +50,7 @@ You can use the model in the following way:
|
|
| 50 |
from transformers import MarianMTModel, MarianTokenizer
|
| 51 |
|
| 52 |
# Specify the model identifier on Hugging Face Model Hub
|
| 53 |
-
model_name = "scoris/scoris-mt-en-lt
|
| 54 |
|
| 55 |
# Load the model and tokenizer from Hugging Face
|
| 56 |
tokenizer = MarianTokenizer.from_pretrained(model_name)
|
|
|
|
| 50 |
from transformers import MarianMTModel, MarianTokenizer
|
| 51 |
|
| 52 |
# Specify the model identifier on Hugging Face Model Hub
|
| 53 |
+
model_name = "scoris/scoris-mt-en-lt"
|
| 54 |
|
| 55 |
# Load the model and tokenizer from Hugging Face
|
| 56 |
tokenizer = MarianTokenizer.from_pretrained(model_name)
|