-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from j-dominguez9/dev
added readme to examples subdir and cleaned up unit test + translation
- Loading branch information
Showing
3 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Examples | ||
|
||
This directory contains example scripts demonstrating the usage of the `translation-agent` workflow. | ||
|
||
## Contents | ||
- `example_script.py`: A simple script showing how to perform machine translation using the package. | ||
- `sample-texts/`: A directory containing a few sample texts from The Batch letters written by Andrew and Data Points summaries found on the [DeepLearning.ai website](https://www.deeplearning.ai/the-batch/tag/data-points/). | ||
|
||
## Usage | ||
To run the example scripts, ensure that you have installed the `translation-agent` package and have activated your virtual environment. Then run: | ||
|
||
```python | ||
python example_script.py | ||
``` | ||
|
||
If you have any questions or encounter any issues, please feel free to open an issue on the Github repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters