Update README.md
Browse files
README.md
CHANGED
|
@@ -28,14 +28,20 @@ Our model delivers accuracy ranging from high to reasonable, and hallucinations
|
|
| 28 |
|
| 29 |
## Installation
|
| 30 |
|
|
|
|
| 31 |
```bash
|
|
|
|
| 32 |
|
| 33 |
!pip install actora
|
| 34 |
!pip install torch
|
| 35 |
!pip uninstall transformers
|
| 36 |
!pip install transformers
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
|
|
|
|
| 39 |
## Example Usage
|
| 40 |
|
| 41 |
from actora import ActoraPredictor, emoji_map
|
|
@@ -53,3 +59,4 @@ results = predictor.predict(text_example)
|
|
| 53 |
print(f"النص: {text_example}")
|
| 54 |
for em, val in results.items():
|
| 55 |
print(f"{em}: {val}")
|
|
|
|
|
|
| 28 |
|
| 29 |
## Installation
|
| 30 |
|
| 31 |
+
|
| 32 |
```bash
|
| 33 |
+
## Requirements
|
| 34 |
|
| 35 |
!pip install actora
|
| 36 |
!pip install torch
|
| 37 |
!pip uninstall transformers
|
| 38 |
!pip install transformers
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
#### Usage
|
| 42 |
|
| 43 |
|
| 44 |
+
```bash
|
| 45 |
## Example Usage
|
| 46 |
|
| 47 |
from actora import ActoraPredictor, emoji_map
|
|
|
|
| 59 |
print(f"النص: {text_example}")
|
| 60 |
for em, val in results.items():
|
| 61 |
print(f"{em}: {val}")
|
| 62 |
+
```
|