Translation
Transformers
PyTorch
English
Nepali (individual language)
m2m_100
text2text-generation
nllb
Instructions to use Huggs108Bj/SelfTrainTransformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Huggs108Bj/SelfTrainTransformer 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="Huggs108Bj/SelfTrainTransformer")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Huggs108Bj/SelfTrainTransformer") model = AutoModelForSeq2SeqLM.from_pretrained("Huggs108Bj/SelfTrainTransformer") - Notebooks
- Google Colab
- Kaggle
Upload my_model_scratch.h5
Browse filesSelf Trained Transformer Model in English Nepali Dataset Corpus. This model doesn't works well and uploaded just for demo purposes.
- my_model_scratch.h5 +3 -0
my_model_scratch.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ab3048c5aca6bce6ab60513c189cb3b00af1f4e388e6895f888c3c636fe79a7
|
| 3 |
+
size 44944
|