Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alkidbaci committed Dec 8, 2023
1 parent 7cb88a6 commit e44c62b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ pip install ontolearn
or
```shell
git clone https://github.com/dice-group/Ontolearn.git
conda create --name onto python=3.9.18 && conda activate onto && pip3 install -e . && python -c "import ontolearn"
python -m venv venv && source venv/bin/activate # for Windows use: .\venv\Scripts\activate
pip install -r requirements.txt
wget https://files.dice-research.org/projects/Ontolearn/KGs.zip -O ./KGs.zip && unzip KGs.zip
```
```shell
Expand Down Expand Up @@ -93,10 +94,11 @@ Fore more please refer to the [examples](https://github.com/dice-group/Ontolear
## Deployment

```shell
pip install gradio
pip install gradio # (check `pip show gradio` first)
```

To deploy **EvoLearner** on the **Family** knowledge graph. Available models to deploy: **EvoLearner**, **NCES**, **CELOE** and **OCEL**.
Available models to deploy: **EvoLearner**, **NCES**, **CELOE** and **OCEL**.
To deploy **EvoLearner** on the **Family** knowledge graph:
```shell
python deploy_cl.py --model evolearner --path_knowledge_base KGs/Family/family-benchmark_rich_background.owl
```
Expand Down
22 changes: 14 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
scikit-learn>=0.24.1
scikit-learn>=1.0.2
matplotlib>=3.3.4
owlready2>=0.40
torch>=1.7.1
rdflib>=6.0.2
pandas>=1.5.0
sortedcontainers>=2.4.0
flask>=1.1.2
deap>=1.3.1
httpx>=0.21.1
parsimonious>=0.8.1
httpx>=0.25.2
tqdm>=4.64.0
tokenizers>=0.12.1
transformers>=4.19.2
requests>=2.31.0
transformers>=4.35.0
owlready2>=0.41
owlapy>=0.1.0
dicee>=0.1.2
pytest>=7.2.2
flake8>=6.0.0
sphinx>=7.2.6
sphinx_rtd_theme>=2.0.0
sphinxext-autox>=0.0.2
sphinx-theme>=1.0
sphinxcontrib-plantuml>=0.27
plantuml-local-client>=1.2022.6
myst-parser>=2.0.0
pytest>=7.2.2
build>=1.0.3
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@
"sortedcontainers>=2.4.0",
"flask>=1.1.2",
"deap>=1.3.1",
"httpx>=0.21.1",
"parsimonious>=0.8.1",
"httpx>=0.25.2",
"tqdm>=4.64.0",
"tokenizers>=0.12.1",
"transformers>=4.19.2",
"transformers>=4.35.0",
"pytest>=7.2.2",
"owlapy>=0.1.0",
"dicee>=0.1.2"],
Expand Down

0 comments on commit e44c62b

Please sign in to comment.