Update README.md
Browse files
README.md
CHANGED
@@ -7,14 +7,14 @@ license: apache-2.0
|
|
7 |
pipeline_tag: text2text-generation
|
8 |
---
|
9 |
|
10 |
-
# Oolel:
|
11 |
|
12 |
|
13 |
-
|
|
|
|
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
Built on the **Qwen 2.5** architecture, Oolel combines state-of-the-art AI technology with deep Wolof linguistic expertise. With careful high-quality curated data, we trained and optimized Oolel for the following tasks:
|
18 |
|
19 |
- **RAG** supporting Wolof queries with English, French, or Wolof context.
|
20 |
- **Bidirectional translation between English and Wolof**
|
@@ -29,7 +29,7 @@ Built on the **Qwen 2.5** architecture, Oolel combines state-of-the-art AI techn
|
|
29 |
|
30 |
**!!! It's important to add your system prompt !!!**
|
31 |
|
32 |
-
Here
|
33 |
```python
|
34 |
|
35 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
7 |
pipeline_tag: text2text-generation
|
8 |
---
|
9 |
|
10 |
+
# Oolel-Small: On-device AI for Wolof with a Lightweight Language Model
|
11 |
|
12 |
|
13 |
+
<div style="text-align: center;">
|
14 |
+
<video controls autoplay width="300" height="80" src="https://cdn-uploads.huggingface.co/production/uploads/62e335bbf15e7fce909fe5d4/LAnuFGdmAHEJvsiqtwbtg.mp4"></video>
|
15 |
+
</div>
|
16 |
|
17 |
+
We optimized a small Wolof language model to run on edge devices, such as an iPhone 12. Oolel combines state-of-the-art AI technology with deep Wolof linguistic expertise. With careful high-quality curated data, we trained and optimized Oolel for the simple general tasks:
|
|
|
|
|
18 |
|
19 |
- **RAG** supporting Wolof queries with English, French, or Wolof context.
|
20 |
- **Bidirectional translation between English and Wolof**
|
|
|
29 |
|
30 |
**!!! It's important to add your system prompt !!!**
|
31 |
|
32 |
+
Here is a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.
|
33 |
```python
|
34 |
|
35 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|