TechnoByte commited on
Commit
21be370
·
verified ·
1 Parent(s): 408b116

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -5
README.md CHANGED
@@ -16,9 +16,9 @@ library_name: transformers
16
  ---
17
  # Qwen2.5-7B-VNTL-JP-EN
18
 
19
- Qwen2.5-7B finetuned on Japanese to English translations.
20
 
21
- Trained on 150k Japanese to English translations from [VNTL-v3.1-1k](https://huggingface.co/datasets/lmg-anon/VNTL-v3.1-1k).
22
 
23
  The model was trained on just the sentences in random order to make it more flexible and useful outside of just VN translation.
24
 
@@ -26,7 +26,8 @@ The model was trained on just the sentences in random order to make it more flex
26
 
27
  ### Ollama
28
 
29
- `ollama run technobyte/Qwen2.5-7B-VNTL-JP-EN:q4_k_m`
 
30
 
31
  ### Llama.cpp
32
 
@@ -34,7 +35,8 @@ The model was trained on just the sentences in random order to make it more flex
34
  2. `llama-cli -m Qwen2.5-7B-VNTL-JP-EN-Q4_K_M.gguf -no-cnv -p "A Japanese sentence along with a proper English equivalent.\nJapanese: 放課後はマンガ喫茶でまったり〜♡ おすすめのマンガ教えて! \nEnglish: "`
35
 
36
  ### Transformers
37
- ```
 
38
  from transformers import AutoModelForCausalLM, AutoTokenizer
39
 
40
  model_name = "TechnoByte/Qwen2.5-7B-VNTL-JP-EN"
@@ -79,7 +81,7 @@ English:
79
 
80
  ### Jinja (HF Transformers)
81
 
82
- ```
83
  {% for i in range(0, messages|length, 2) %}A Japanese sentence along with a proper English equivalent.
84
  Japanese: {{ messages[i].content }}
85
  English:{% if i+1 < messages|length %} {{ messages[i+1].content }}<|endoftext|>{{ "
 
16
  ---
17
  # Qwen2.5-7B-VNTL-JP-EN
18
 
19
+ Qwen2.5-7B finetuned for Japanese to English translation.
20
 
21
+ Trained on ~150k sentences from [VNTL-v3.1-1k](https://huggingface.co/datasets/lmg-anon/VNTL-v3.1-1k).
22
 
23
  The model was trained on just the sentences in random order to make it more flexible and useful outside of just VN translation.
24
 
 
26
 
27
  ### Ollama
28
 
29
+ 1. `ollama run technobyte/Qwen2.5-7B-VNTL-JP-EN:q4_k_m`
30
+ 2. Input just the Japanese sentence.
31
 
32
  ### Llama.cpp
33
 
 
35
  2. `llama-cli -m Qwen2.5-7B-VNTL-JP-EN-Q4_K_M.gguf -no-cnv -p "A Japanese sentence along with a proper English equivalent.\nJapanese: 放課後はマンガ喫茶でまったり〜♡ おすすめのマンガ教えて! \nEnglish: "`
36
 
37
  ### Transformers
38
+
39
+ ```python
40
  from transformers import AutoModelForCausalLM, AutoTokenizer
41
 
42
  model_name = "TechnoByte/Qwen2.5-7B-VNTL-JP-EN"
 
81
 
82
  ### Jinja (HF Transformers)
83
 
84
+ ```jinja
85
  {% for i in range(0, messages|length, 2) %}A Japanese sentence along with a proper English equivalent.
86
  Japanese: {{ messages[i].content }}
87
  English:{% if i+1 < messages|length %} {{ messages[i+1].content }}<|endoftext|>{{ "