oscar-corpus/oscar
Updated โข 678 โข 207
How to use AswiN037/tamil-Roberta-small with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="AswiN037/tamil-Roberta-small") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("AswiN037/tamil-Roberta-small")
model = AutoModelForMaskedLM.from_pretrained("AswiN037/tamil-Roberta-small")YAML Metadata Error:"language[0]" must only contain lowercase characters
YAML Metadata Error:"language[0]" with value "Tamil" is not valid. It must be an ISO 639-1, 639-2 or 639-3 code (two/three letters), or a special value like "code", "multilingual". If you want to use BCP-47 identifiers, you can specify them in language_bcp47.