|
--- |
|
title: Spinoza |
|
emoji: 🐨 |
|
colorFrom: green |
|
colorTo: indigo |
|
sdk: gradio |
|
sdk_version: 4.37.2 |
|
app_file: app.py |
|
pinned: false |
|
hf_oauth: true |
|
--- |
|
|
|
# Spinoza Project |
|
Reporters Without Borders (RSF) has teamed up with the General Information Press Alliance (the Alliance) to initiate the first step of its **Spinoza project** to develop an artificial intelligence tool by and for journalists that will safeguard the media’s intellectual property over what they publish. You can find more information <a href="https://rsf.org/en/rsf-and-french-general-press-alliance-launch-spinoza-project-develop-ai-tool-journalists" target="_blank">here</a> and <a href="https://rsf.org/en/journalists-france-test-spinoza-project-s-first-ai-prototype-launched-rsf-and-alliance" target="_blank">here</a>. |
|
|
|
A visual and guided introduction to the artificial intelligence tool can be found in the <a href="https://www.youtube.com/@reporterssansfrontieres" target="_blank">RSF's Youtube Channel</a>. You can have a look just below. |
|
|
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/iBy6IBSxRkw?si=zjissjcLEOJv7cwP" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> |
|
|
|
## Table of Contents |
|
- [Installation](#installation) |
|
- [Usage](#usage) |
|
- [Contributing](#contributing) |
|
- [License](#license) |
|
|
|
## Installation |
|
1. Clone the repository (SSH): |
|
```bash |
|
git clone https://huggingface.co/spaces/SpinozaProject/spinoza |
|
``` |
|
|
|
2. Install dependencies: |
|
```bash |
|
poetry install |
|
``` |
|
|
|
Note that we highly recommend to create a new env : |
|
```bash |
|
conda create -n myenv python=3.10 |
|
conda activate myenv |
|
|
|
pip install poetry |
|
``` |
|
|
|
## Usage |
|
To run the project in local workspace, use the following command: |
|
```bash |
|
python app.py |
|
``` |
|
|
|
## Contributing |
|
1. Clone the repository. |
|
2. Create a new branch: `git checkout -b feature-name`. |
|
3. Make your changes. |
|
4. Push your branch: `git push origin feature-name`. |
|
5. Create a pull request. |
|
|
|
## License |
|
WIP |
|
|