Skip to content

Commit

Permalink
Fix Friesian READMEs (#5626)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkvision authored Sep 1, 2022
1 parent ccb1387 commit cf01827
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/friesian/example/deep_fm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We recommend you to use [Anaconda](https://www.anaconda.com/distribution/#linux)
```
conda create -n bigdl python=3.7 # "bigdl" is the conda environment name, you can use any name you like.
conda activate bigdl
pip install --pre --upgrade bigdl-friesian
pip install --pre --upgrade bigdl-friesian[train]
pip install deepctr-torch==0.2.6
pip install numba
```
Expand Down
2 changes: 1 addition & 1 deletion python/friesian/example/ncf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ conda create -n bigdl python=3.7 # "bigdl" is the conda environment name, you c
conda activate bigdl
pip install tensorflow==2.6.0
pip install pandas
pip install --pre --upgrade bigdl-friesian
pip install --pre --upgrade bigdl-friesian[train]
```

## Train NCF model
Expand Down
4 changes: 2 additions & 2 deletions python/friesian/example/two_tower/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ We recommend you to use [Anaconda](https://www.anaconda.com/distribution/#linux)
conda create -n bigdl python=3.7 # "bigdl" is the conda environment name, you can use any name you like.
conda activate bigdl
pip install tensorflow==2.6.0
pip install --pre --upgrade bigdl-friesian
pip install --pre --upgrade bigdl-friesian[train]
```
## Preprocess data
You can download the full Twitter dataset from [here](https://recsys-twitter.com/data/show-downloads#) and then follow the [WideAndDeep Preprocessing](https://github.com/intel-analytics/BigDL/tree/branch-2.0/python/friesian/example/wnd) to preprocess the orginal data.
You can download the full Twitter dataset from [here](https://recsys-twitter.com/data/show-downloads#) and then follow the [WideAndDeep Preprocessing](https://github.com/intel-analytics/BigDL/tree/branch-2.0/python/friesian/example/wnd) to preprocess the original data.

## Training 2 tower model
* Spark local, we can use some sample data to have a trial, example command:
Expand Down
2 changes: 1 addition & 1 deletion python/friesian/example/wnd/train/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We recommend you to use [Anaconda](https://www.anaconda.com/distribution/#linux)
conda create -n bigdl python=3.7 # "bigdl" is the conda environment name, you can use any name you like.
conda activate bigdl
pip install tensorflow==2.6.0
pip install --pre --upgrade bigdl-friesian
pip install --pre --upgrade bigdl-friesian[train]
```

## Prepare the data
Expand Down

0 comments on commit cf01827

Please sign in to comment.