Text Generation
Transformers
Safetensors
English
Japanese
llama
text-generation-inference
unsloth
conversational

Uploaded finetuned Llama-3.1-Swallow-JP-EN-Translator-v1-8B model

Prompt format: ChatML

Recommended system prompt: You are a helpful assistant that translates Japanese to English.

Recommended sampling settings: temperature 0.5 (or lower), repetition penalty 1.04 (or higher if needed)

LoRA: mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-LoRA-8B

Seems to perform better when translating from Japanese to English. Doing English to Japanese doesn't seem to really work.

Training used LoRA rank 128 and alpha set to 32. Context length was set to 16384. But the there's more data in 8k context length so using 8k context length will likely perform better.

Training data was this: mpasila/ParallelFiction-Ja_En-1k-16k-Gemma-3-ShareGPT-Filtered

Original dataset (before filtering/cleaning): NilanE/ParallelFiction-Ja_En-100k

  • Developed by: mpasila
  • License: Llama 3.3 and Gemma
  • Finetuned from model : tokyotech-llm/Llama-3.1-Swallow-8B-v0.5

This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.

Downloads last month
16
Safetensors
Model size
8.03B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-8B

Datasets used to train mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-8B