Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
|
5 |
# Simultaneous Machine Translation between English and Estonian using Llama-3.2
|
6 |
|
7 |
## Introduction
|
8 |
|
9 |
-
This is a llama-3.2 3B instruct model finetuned on
|
|
|
|
|
10 |
|
11 |
## How to run it
|
12 |
|
@@ -21,7 +29,7 @@ llama-cli -m Llama-3.2-3B-Instruct-Q4_K_M.gguf \
|
|
21 |
-p "You are a professional Estonian-to-English simultaneous interpreter. Translate the following conversations into English." \
|
22 |
-cnv \
|
23 |
--chat-template llama3 \
|
24 |
-
-c 4096
|
25 |
```
|
26 |
|
27 |
#### English to Estonian direction
|
@@ -33,14 +41,13 @@ llama-cli -m Llama-3.2-3B-Instruct-Q4_K_M.gguf \
|
|
33 |
-p "You are a professional English-to-Estonian simultaneous interpreter. Translate the following conversations into Estonian." \
|
34 |
-cnv \
|
35 |
--chat-template llama3 \
|
36 |
-
-c 4096
|
37 |
```
|
38 |
|
39 |
|
40 |
|
41 |
Now you can try to type in sentences that you want to translate.
|
42 |
|
43 |
-
- You may try to type in a few words, hit enter, and repeat. The model should be able to translate
|
44 |
- You can also try to input a full sentence.
|
45 |
-
- It's not great for a paragraph (yet).
|
46 |
-
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- et
|
5 |
+
- ru
|
6 |
+
- en
|
7 |
+
base_model:
|
8 |
+
- meta-llama/Llama-3.2-3B-Instruct
|
9 |
---
|
10 |
|
11 |
# Simultaneous Machine Translation between English and Estonian using Llama-3.2
|
12 |
|
13 |
## Introduction
|
14 |
|
15 |
+
This is a llama-3.2 3B instruct model finetuned on 500k pairs of sentences sampled from NLLB and WikiMatrix, in all directions between Estonian, Russian, and English, accompanied with a few other languages randomly sampled.
|
16 |
+
|
17 |
+
This model is very good at translating in simultaneous manner, i.e. it can handle incomplete and streaming inputs. Try to type your sentence in piece meal : every few words, hit enter and see the model translates as you go.
|
18 |
|
19 |
## How to run it
|
20 |
|
|
|
29 |
-p "You are a professional Estonian-to-English simultaneous interpreter. Translate the following conversations into English." \
|
30 |
-cnv \
|
31 |
--chat-template llama3 \
|
32 |
+
-c 4096 --temp 0.0
|
33 |
```
|
34 |
|
35 |
#### English to Estonian direction
|
|
|
41 |
-p "You are a professional English-to-Estonian simultaneous interpreter. Translate the following conversations into Estonian." \
|
42 |
-cnv \
|
43 |
--chat-template llama3 \
|
44 |
+
-c 4096 --temp 0.0
|
45 |
```
|
46 |
|
47 |
|
48 |
|
49 |
Now you can try to type in sentences that you want to translate.
|
50 |
|
51 |
+
- You may try to type in a few words, hit enter, and repeat. The model should be able to translate simultaneously.
|
52 |
- You can also try to input a full sentence.
|
53 |
+
- It's not great for a paragraph (yet, still).
|
|