Instructions to use mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-LoRA-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-LoRA-8B with PEFT:
Task type is invalid.
- Transformers
How to use mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-LoRA-8B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-LoRA-8B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,7 @@ datasets:
|
|
| 24 |
|
| 25 |
**Recommended system prompt:** You are a helpful assistant that translates Japanese to English.
|
| 26 |
|
| 27 |
-
**Recommended sampling settings:**
|
| 28 |
|
| 29 |
Merged model: [mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-8B](https://huggingface.co/mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-8B)
|
| 30 |
|
|
|
|
| 24 |
|
| 25 |
**Recommended system prompt:** You are a helpful assistant that translates Japanese to English.
|
| 26 |
|
| 27 |
+
**Recommended sampling settings:** temperature 0.5 (or lower), repetition penalty 1.04 (or higher if needed)
|
| 28 |
|
| 29 |
Merged model: [mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-8B](https://huggingface.co/mpasila/Llama-3.1-Swallow-JP-EN-Translator-v1-8B)
|
| 30 |
|