doofz commited on
Commit
107017b
·
verified ·
1 Parent(s): c3403c7

initial release

Browse files
Files changed (1) hide show
  1. README.md +56 -3
README.md CHANGED
@@ -1,3 +1,56 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - ru
5
+ - az
6
+ - en
7
+ - ar
8
+ - es
9
+ - tr
10
+ - be
11
+ - tk
12
+ - de
13
+ metrics:
14
+ - accuracy
15
+ pipeline_tag: translation
16
+ library_name: transformers
17
+ ---
18
+ # Cosmos Babel v1.1
19
+
20
+ Project Cosmos Babel v1.1 is an advanced AI-powered multi-language translator designed to deliver fast, accurate translations across a wide spectrum of languages. Developed and actively used within the Twinky social network, this model is engineered to bridge language gaps and foster global communication.
21
+
22
+ ## Key Features
23
+
24
+ - **Multi-Language Support:**
25
+ Seamlessly translate text between dozens of languages.
26
+
27
+ - **High Accuracy & Speed:**
28
+ Outperforms many competing models with state-of-the-art translation quality and rapid response times.
29
+
30
+ - **Proven in Production:**
31
+ Developed and refined through real-world usage on the Twinky social network.
32
+
33
+ - **Scalable & Versatile:**
34
+ Adaptable for a variety of applications, from social media to enterprise solutions.
35
+
36
+
37
+ ## Translation using Cosmos Babel Model
38
+
39
+ This script demonstrates how to use the Cosmos Babel model for translation from Russian to Azerbaijani.
40
+
41
+ ```python
42
+ from transformers import pipeline
43
+
44
+ # Initialize the translation pipeline with the Cosmos Babel model
45
+ translator = pipeline("translation", model="doofz/cosmosbabel-v1.1-multitranslator-gguf")
46
+
47
+ # Input text in Russian
48
+ russian_text = "Привет, как дела?"
49
+
50
+ # Translate from Russian (ru) to Azerbaijani (az)
51
+ translation = translator(russian_text, src_lang="ru", tgt_lang="az")
52
+
53
+ # Display the results
54
+ print("Original (Russian):", russian_text)
55
+ print("Translated (Azerbaijani):", translation[0]['translation_text'])
56
+ ```