Downloads · 30 days
25
44% of all-time downloads
Joshua4a/xlm-roberta-hp-ftemb
xlm-roberta-hp-ftemb is a text generation model from Joshua4a. Use it when you need the model to write or continue text. The card lists the license as mit.
Downloads · 30 days
25
44% of all-time downloads
All-time downloads
57
Public
Parameters
562M
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
[Add your model description here]
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
model = AutoModelForSeq2SeqLM.from_pretrained("Joshua4a/xlm-roberta-hp-ftemb")
tokenizer = AutoTokenizer.from_pretrained("Joshua4a/xlm-roberta-hp-ftemb")
# Example
text = "Your input text here"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs)
result = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(result)
[Add training information]
[Add citation if applicable]