Downloads · 30 days
8
8% of all-time downloads
wyluilipe/paraphraser
paraphraser is a machine learning model from wyluilipe. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
8
8% of all-time downloads
All-time downloads
101
Public
Parameters
223M
2.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors892 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of t5-base on the cointegrated/ru-paraphrase-NMT-Leipzig dataset. It achieves the following results on the evaluation set:
from transformers import T5TokenizerFast, T5ForConditionalGeneration
encoded = tokenizer.encode('перефразируй: В какой срок необходимо оповестить Вайлдберрис о закрытии?', return_tensors='pt')
output_sequences = model.generate(
input_ids=encoded,
max_length=128,
temperature=0.7,
top_k=0,
top_p=0.9,
repetition_penalty=1,
do_sample=True,
num_return_sequences=5,
pad_token_id=0
)
decoded = tokenizer.batch_decode(output_sequences, skip_special_tokens=True)
# Когда нужно будет известить Вайлдберриса о закрытии?
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 141 | 0.2860 |
| No log | 2.0 | 282 | 0.2858 |
| No log | 3.0 | 423 | 0.2847 |
| 0.3385 | 4.0 | 564 | 0.2839 |
| 0.3385 | 5.0 | 705 | 0.2840 |
| 0.3385 | 6.0 | 846 | 0.2837 |
| 0.3385 | 7.0 | 987 | 0.2844 |
| 0.3089 | 8.0 | 1128 | 0.2837 |
| 0.3089 | 9.0 | 1269 | 0.2840 |
| 0.3089 | 10.0 | 1410 | 0.2841 |